\r
/*指定された属性の規定値*/\r
defaultValue: "",\r
-\r
+ \r
+ /*initメソッドで使われるアニメーション関数*/\r
+ setFrame: function () {\r
+ this.element.setAttributeNS(null, this.attrName, this.to);\r
+ },\r
+ \r
init: function(ele) {\r
var line = this.push(ele);\r
if (ele && ele.getAttributeNS) {\r
if (line && thisele) {\r
this.defaultValue = thisele.getAttributeNS(null, this.attrName)\r
|| thisele.ownerDocument.defaultView.getComputedStyle(thisele, "").getPropertyValue(this.attrName);\r
- line.setFrame = function () {\r
- this.element.setAttributeNS(null, this.attrName, this.to);\r
- }.bind(this);\r
+ line.setFrame = this.setFrame.bind(this);\r
}\r
line = thisele = void 0;\r
}\r