OSDN Git Service
(root)
/
sie
/
sie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bf55669
)
Support a try-catch statement on the step function
author
dhrname
<dhrname@users.sourceforge.jp>
Tue, 27 Oct 2015 14:11:12 +0000
(23:11 +0900)
committer
dhrname
<dhrname@users.sourceforge.jp>
Tue, 27 Oct 2015 14:11:12 +0000
(23:11 +0900)
org/w3c/dom/smil.js
patch
|
blob
|
history
diff --git
a/org/w3c/dom/smil.js
b/org/w3c/dom/smil.js
index
cd31d86
..
5be53b6
100644
(file)
--- a/
org/w3c/dom/smil.js
+++ b/
org/w3c/dom/smil.js
@@
-1364,9
+1364,10
@@
if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Anim
requestAnimationFrame(step);
\r
function step() {
\r
frame++;
\r
-
\r
+ try {
\r
$f.setFrame(frame);
\r
-
\r
+ } catch(e) {
\r
+ }
\r
requestAnimationFrame(step);
\r
};
\r
})(-1)
\r