| 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 30 matching lines...) Expand all Loading... |
| 41 var anim2 = new Animation( | 41 var anim2 = new Animation( |
| 42 document.getElementById("b"), effect, | 42 document.getElementById("b"), effect, |
| 43 {duration: 1.0 * 1000, fill: 'forwards'}); | 43 {duration: 1.0 * 1000, fill: 'forwards'}); |
| 44 var animationGroup = new AnimationGroup( | 44 var animationGroup = new AnimationGroup( |
| 45 [anim2], | 45 [anim2], |
| 46 {duration: 1.0 * 1000, iterations: 3.0, direction: "alternate", fill: 'forwa
rds'}); | 46 {duration: 1.0 * 1000, iterations: 3.0, direction: "alternate", fill: 'forwa
rds'}); |
| 47 | 47 |
| 48 document.timeline.play(anim1); | 48 document.timeline.play(anim1); |
| 49 document.timeline.play(animationGroup); | 49 document.timeline.play(animationGroup); |
| 50 </script> | 50 </script> |
| OLD | NEW |