OSDN Git Service

Modify the setValues on the
authordhrname <dhrname@users.sourceforge.jp>
Mon, 13 Feb 2017 13:57:12 +0000 (22:57 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Mon, 13 Feb 2017 13:57:12 +0000 (22:57 +0900)
org/w3c/dom/smil.js

index c39b13e..bebf326 100644 (file)
@@ -2074,8 +2074,13 @@ base("$calcMode").up("$attribute").mix( {
     \r
     /*setValuesメソッドのオーバライド*/\r
     setValues: function() {\r
-      if (this.getAttr("keyPoints", null)) {}\r
-      return this.$setElement.setValues.apply(this, arguments);\r
+      var keyPoints = this.getAttr("keyPoints", null),\r
+          superSetValues = this.$setElement.setValues;\r
+      if (keyPoints) {\r
+        return superSetValues.call(this, keyPoints);\r
+      } else {\r
+        return superSetValues.apply(this, arguments);\r
+      }\r
     }\r
   } )\r
   .on("init", function (ele) {\r