OSDN Git Service

New a __step function
authordhrname <dhrname@users.sourceforge.jp>
Tue, 13 Oct 2015 11:54:06 +0000 (20:54 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Tue, 13 Oct 2015 11:54:06 +0000 (20:54 +0900)
org/w3c/dom/smil.js

index 5661f75..0952b2c 100644 (file)
@@ -1291,6 +1291,7 @@ function getDocument()
       init($set.$animateElement, animateColorElements);\r
     }\r
   }\r
+  __step();\r
   \r
   function init (obj, eles) {\r
     for (var i=0;i<eles.length;++i) {\r
@@ -1300,6 +1301,7 @@ function getDocument()
 }\r
 window.addEventListener && window.addEventListener("load", getDocument);\r
 \r
+function __step() {\r
 if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Animation", "1.1")) {\r
   if (window.requestAnimationFrame && requestAnimationFrame) {\r
     /*IE11などSMILアニメーションに対応していないブラウザ用*/\r
@@ -1324,4 +1326,5 @@ if (!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Anim
     })(-1), 1 );\r
   }\r
 }\r
+}\r
 //#endif // _SMIL_IDL_\r