OSDN Git Service

Modify the tocall method of the
authordhrname <dhrname@users.sourceforge.jp>
Tue, 21 Jun 2016 12:24:29 +0000 (21:24 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Tue, 21 Jun 2016 12:24:29 +0000 (21:24 +0900)
org/w3c/dom/smil.js

index ab8d477..4dac0a1 100644 (file)
@@ -1718,9 +1718,8 @@ base("$calcMode").up("$attribute").mix( {
       /*モーションは仕様の関係上、かならず、CTMの一番初めに置かれ、前置積となる\r
      * なお、__transformListプロパティはtransform属性の値であり、CTMを表現する。\r
      * 必ず、CTMの一番目に設定する*/\r
-      var s = "translate(" +this.$animateElement.tocall.call(this, advance)+ ") "\r
-              + (this.defaultValue || "");\r
-      return this.joinList(s);\r
+      return ("translate(" +this.$animateElement.tocall.call(this, advance)+ ") "\r
+              + this.joinList(this.defaultValue || "")).trim();\r
     },\r
     \r
     /*$animateElement.tocallメソッドを置き換えるためのメソッド\r