diff options
| author | Igor Minar | 2013-01-09 16:07:34 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-09 21:28:53 -0800 |
| commit | 7dff7bb69695f89046272bf31b2b60f0431f1f30 (patch) | |
| tree | e67b91cbc5d1e2194b10a444b6624e23ac0456e2 /perf/DCLvsWindowOnLoad.html | |
| parent | cdf6fb19c85560b30607e71dc2b19fde54760faa (diff) | |
| download | angular.js-7dff7bb69695f89046272bf31b2b60f0431f1f30.tar.bz2 | |
chore(*): remove obsolete files
Diffstat (limited to 'perf/DCLvsWindowOnLoad.html')
| -rw-r--r-- | perf/DCLvsWindowOnLoad.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/perf/DCLvsWindowOnLoad.html b/perf/DCLvsWindowOnLoad.html deleted file mode 100644 index 88a51ab2..00000000 --- a/perf/DCLvsWindowOnLoad.html +++ /dev/null @@ -1,37 +0,0 @@ -<!doctype html> -<!-- - -This test demonstrates the time difference between document's DOMContentLoaded and window's load events. - ---> -<html> - <head ng:app> - <script> - startTS = new Date().getTime(); - onDOMContentLoadedTS = 0; // default for browsers where DOMCL is not supported - </script> - <title>DOMContentLoaded test</title> - <script src="../build/angular.min.js"></script> - <script> - angular.element(document).bind('DOMContentLoaded', function(e) {onDOMContentLoadedTS = new Date().getTime()}); - angular.element(window).bind('load', function(e) { - onloadTS = new Date().getTime(); - log.innerHTML = 'start: ' + new Date(startTS) + '<br/>DOMContentLoaded: +' + (onDOMContentLoadedTS - startTS) + 'ms<br/> load: +' + (onloadTS - startTS) + 'ms'; - }); - </script> - </head> - <body> - <h1>DOMContentLoaded test</h1> - <p>{{ 'yay!' || 'angular starting...' }}</p> - - <img width="100px" src="http://lh5.ggpht.com/_BLyMhylclm0/TST_bbGH0zI/AAAAAAAAATY/oNUn9kivKN8/s912/1020047.jpg" /> - <img width="100px" src="http://lh5.ggpht.com/_MqEybfAuUFk/TSOOiegUlPI/AAAAAAAADHY/AEwEWc64_-M/s800/IMG_7294.JPG" /> - <img width="100px" src="http://lh3.ggpht.com/_LdjD3ua8rpE/TSOW99rwjZI/AAAAAAAAFC0/0qJRhhN45RM/s912/Saison%2010%20%2834%29.JPG" /> - <img width="100px" src="http://lh6.ggpht.com/_oy_-am3CVUw/TSOQBddZpwI/AAAAAAAACaw/ogFgoD79bVE/s912/P1100886.JPG" /> - <img width="100px" src="http://lh4.ggpht.com/_srSaA7ZN7oc/TDdxXbA_i1I/AAAAAAAAQ2w/ii3vgrnfCrM/s800/Urlaub10%20157.jpg" /> - <img width="100px" src="http://lh5.ggpht.com/_y6vXu6iRrfM/SIaYhRQBYNI/AAAAAAAAAmE/lV2NYwxtsQM/s912/North%20Dakota%20Trip%20014.JPG" /> - <img width="100px" src="http://lh5.ggpht.com/_Jjv9cIn9cS8/RuwZCgfOl6I/AAAAAAAAAOc/QrrMe8vpawg/s800/Shark%20Trip%20-%20day%202%20513.JPG" /> - - <p id="log"></p> - </body> -</html> |
