OLD | NEW |
1 | 1 /** |
2 | |
3 /** | |
4 * `Polymer.NeonAnimatableBehavior` is implemented by elements containing anim
ations for use with | 2 * `Polymer.NeonAnimatableBehavior` is implemented by elements containing anim
ations for use with |
5 * elements implementing `Polymer.NeonAnimationRunnerBehavior`. | 3 * elements implementing `Polymer.NeonAnimationRunnerBehavior`. |
6 * @polymerBehavior | 4 * @polymerBehavior |
7 */ | 5 */ |
8 Polymer.NeonAnimatableBehavior = { | 6 Polymer.NeonAnimatableBehavior = { |
9 | 7 |
10 properties: { | 8 properties: { |
11 | 9 |
12 /** | 10 /** |
13 * Animation configuration. See README for more info. | 11 * Animation configuration. See README for more info. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 var map = []; | 130 var map = []; |
133 var allConfigs = []; | 131 var allConfigs = []; |
134 this._getAnimationConfigRecursive(type, map, allConfigs); | 132 this._getAnimationConfigRecursive(type, map, allConfigs); |
135 // append the configurations saved in the map to the array | 133 // append the configurations saved in the map to the array |
136 for (var key in map) { | 134 for (var key in map) { |
137 allConfigs.push(map[key]); | 135 allConfigs.push(map[key]); |
138 } | 136 } |
139 return allConfigs; | 137 return allConfigs; |
140 } | 138 } |
141 | 139 |
142 }; | 140 }; |
143 | |
OLD | NEW |