OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2012 Google Inc. All Rights Reserved. | 2 Copyright 2012 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 effect100To300, | 151 effect100To300, |
152 {duration: 1 * 1000, iterations: 3.2, iterationStart: 0.2, fill: 'forwards
'})); | 152 {duration: 1 * 1000, iterations: 3.2, iterationStart: 0.2, fill: 'forwards
'})); |
153 // Test that nothing odd happens when (iterations + iterationStart) is an | 153 // Test that nothing odd happens when (iterations + iterationStart) is an |
154 // integer. | 154 // integer. |
155 groups[i].append(new Animation(container.getElementsByClassName("f")[0], | 155 groups[i].append(new Animation(container.getElementsByClassName("f")[0], |
156 effect100To180, | 156 effect100To180, |
157 {duration: 1 * 1000, iterations: 2.8, iterationStart: 0.2, fill: 'forwards
'})); | 157 {duration: 1 * 1000, iterations: 2.8, iterationStart: 0.2, fill: 'forwards
'})); |
158 document.timeline.play(groups[i]); | 158 document.timeline.play(groups[i]); |
159 } | 159 } |
160 </script> | 160 </script> |
OLD | NEW |