&& (this.numberOfList < 0) ) {\r
/*もし、今まで、このオブジェクトで、initメソッドを実行していなければ*/\r
this.numberOfList = parent.__transformList.length;\r
- parent.__transformList.push( {value: "translate(0)"} );\r
+ parent.__transformList.push( {isPlaying: false,\r
+ value: "translate(0)"} );\r
}\r
} )\r
.up("$motionElement")\r
$animate.init(ele);\r
expect($animate.type).toBe("translate");\r
expect($animate.numberOfList).toBe(0);\r
- expect(p.__transformList).toEqual([{value: "translate(0)"}]);\r
+ expect(p.__transformList).toEqual([ {isPlaying: false,\r
+ value: "translate(0)"} ]);\r
\r
ele.setAttributeNS(null, "type", "translate");\r
$animate.init(ele);\r
expect($animate.numberOfList).toBe(0);\r
expect($animate.type).toBe("translate");\r
- expect(p.__transformList).toEqual([{value: "translate(0)"}]);\r
+ expect(p.__transformList).toEqual([ {isPlaying: false,\r
+ value: "translate(0)"} ]);\r
\r
ele.parentNode.appendChild(ele.cloneNode(true));\r
$animate.numberOfList = -1;\r
$animate.init(ele.parentNode.lastChild);\r
expect($animate.numberOfList).toBe(1);\r
- expect(p.__transformList).toEqual([{value: "translate(0)"}, {value: "translate(0)"}]);\r
+ expect(p.__transformList).toEqual([ {isPlaying: false,\r
+ value: "translate(0)"}, \r
+ {isPlaying: false,\r
+ value: "translate(0)"} ]);\r
expect($animate.type).toBe("translate");\r
\r
delete p.__transformList;\r
$animate.numberOfList = -1;\r
$animate.init(ele);\r
expect($animate.numberOfList).toBe(0);\r
- expect(p.__transformList).toEqual([{value: "translate(0)"}]);\r
+ expect(p.__transformList).toEqual([ {isPlaying: false,\r
+ value: "translate(0)"} ]);\r
expect($animate.type).toBe("scale");\r
\r
expect($animate.isSum).toBeFalsy();\r