OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2013 Google Inc. All Rights Reserved. | 2 Copyright 2013 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 24 matching lines...) Expand all Loading... |
35 "\n" + "top: 50px;" + | 35 "\n" + "top: 50px;" + |
36 "\n" + "left: 0px;" + | 36 "\n" + "left: 0px;" + |
37 "\n" + "position: absolute;" + | 37 "\n" + "position: absolute;" + |
38 "\n" + "}"; | 38 "\n" + "}"; |
39 myDisplay.setDefaultCss(css); | 39 myDisplay.setDefaultCss(css); |
40 myDisplay.setDefaultAnimationEndTime(2); | 40 myDisplay.setDefaultAnimationEndTime(2); |
41 myDisplay.addCheck("document.getElementById('a')", "{'left': '0px'}", 0); | 41 myDisplay.addCheck("document.getElementById('a')", "{'left': '0px'}", 0); |
42 myDisplay.addCheck("document.getElementById('a')", "{'left': '300px'}", 2); | 42 myDisplay.addCheck("document.getElementById('a')", "{'left': '300px'}", 2); |
43 </script> | 43 </script> |
44 </body> | 44 </body> |
OLD | NEW |