OSDN Git Service

Lighten the setKey method
authordhrname <dhrname@users.sourceforge.jp>
Fri, 22 May 2015 14:05:41 +0000 (23:05 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Fri, 22 May 2015 14:05:41 +0000 (23:05 +0900)
org/w3c/dom/smil.js

index 0e0bf99..22b89bc 100644 (file)
@@ -803,7 +803,7 @@ base("$calcMode").up("$attribute").mix( {
           getAttr("by") ),\r
          keyTimes = getAttr("keyTimes"),\r
          keys;\r
-      if (keyTimes && to && to.length) {\r
+      if (keyTimes && to) {\r
         keys = this.$from.numList.call( {\r
           string: keyTimes\r
         } );\r