| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 directions.forEach(function (direction) { | 105 directions.forEach(function (direction) { |
| 106 fills.forEach(function (fill) { | 106 fills.forEach(function (fill) { |
| 107 var dur0 = document.querySelector('.dir-' + direction + ' .fill-' + fill); | 107 var dur0 = document.querySelector('.dir-' + direction + ' .fill-' + fill); |
| 108 var dur1 = dur0.cloneNode(true); | 108 var dur1 = dur0.cloneNode(true); |
| 109 dur0.parentElement.insertBefore(dur1, dur0); | 109 dur0.parentElement.insertBefore(dur1, dur0); |
| 110 testCase(dur1, direction, fill, 1000); | 110 testCase(dur1, direction, fill, 1000); |
| 111 testCase(dur0, direction, fill, 0); | 111 testCase(dur0, direction, fill, 0); |
| 112 }); | 112 }); |
| 113 }); | 113 }); |
| 114 </script> | 114 </script> |
| OLD | NEW |