OSDN Git Service

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

index d93a427..8c2e5d2 100644 (file)
@@ -1993,7 +1993,7 @@ base("$calcMode").up("$attribute").mix( {
     mode: "paced",\r
         \r
     /*hasAttrValuesメソッドのオーバライド\r
-     * path属性に対応させるため*/\r
+     * pathå±\9eæ\80§ã\81ªã\81©ã\81«å¯¾å¿\9cã\81\95ã\81\9bã\82\8bã\81\9fã\82\81*/\r
     hasAttrValues: function () {\r
       if (this.$attribute.hasAttrValues.call(this)) {\r
         return true;\r
@@ -2070,6 +2070,12 @@ base("$calcMode").up("$attribute").mix( {
         rotate = +this.rotate;\r
       }\r
       return point.x+ "," +point.y + this.getRotate(path, advanceLength, rotate);\r
+    },\r
+    \r
+    /*setValuesメソッドのオーバライド*/\r
+    setValues: function() {\r
+      if (this.getAttr("keyPoints", null)) {}\r
+      return this.$setElement.setValues.apply(this, arguments);\r
     }\r
   } )\r
   .on("init", function (ele) {\r