| 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 18 matching lines...) Expand all Loading... |
| 29 <circle class="anim" cx="60px" cy="60px" r="50px"/> | 29 <circle class="anim" cx="60px" cy="60px" r="50px"/> |
| 30 </svg> | 30 </svg> |
| 31 <script src="../bootstrap.js"></script> | 31 <script src="../bootstrap.js"></script> |
| 32 <script> | 32 <script> |
| 33 "use strict"; | 33 "use strict"; |
| 34 var rect = document.querySelector(".anim") | 34 var rect = document.querySelector(".anim") |
| 35 | 35 |
| 36 document.timeline.play(new Animation(rect, {cx: "400px", cy: "85px", r: "75px"},
{duration: 1 * 1000, fill: 'forwards'})); | 36 document.timeline.play(new Animation(rect, {cx: "400px", cy: "85px", r: "75px"},
{duration: 1 * 1000, fill: 'forwards'})); |
| 37 | 37 |
| 38 </script> | 38 </script> |
| OLD | NEW |