| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 var pgroup2 = new AnimationGroup([a3, a4], {name: "p2", fill: "forwards"}); | 73 var pgroup2 = new AnimationGroup([a3, a4], {name: "p2", fill: "forwards"}); |
| 74 var player = document.timeline.play( | 74 var player = document.timeline.play( |
| 75 new AnimationSequence([pgroup1, pgroup2], {name: "s", fill: "forwards"})); | 75 new AnimationSequence([pgroup1, pgroup2], {name: "s", fill: "forwards"})); |
| 76 | 76 |
| 77 at(1.0 * 1000, function() { player.pause(); }); | 77 at(1.0 * 1000, function() { player.pause(); }); |
| 78 at(2.0 * 1000, function() { player.play(); }); | 78 at(2.0 * 1000, function() { player.play(); }); |
| 79 at(4.0 * 1000, function() { player.pause(); }); | 79 at(4.0 * 1000, function() { player.pause(); }); |
| 80 at(5.0 * 1000, function() { player.play(); }); | 80 at(5.0 * 1000, function() { player.play(); }); |
| 81 | 81 |
| 82 </script> | 82 </script> |
| OLD | NEW |