Permalink
Browse files

Fixed dyn_load test case

  • Loading branch information...
1 parent a39e640 commit 8623e9be5b8862ae4c2cf19dd027099c4331536a Aron Kornhall committed Nov 4, 2012
Showing with 16 additions and 0 deletions.
  1. +15 −0 test/fixtures/test_dynload.html
  2. +1 −0 test/fixtures/test_dynload.js
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ </head>
+ <body>
+ <script>
+ setTimeout(function() {
+ var body = document.querySelector('body');
+ var script = document.createElement('script');
+ // script.type= 'text/javascript';
+ script.src= 'test_dynload.js';
+ body.appendChild(script);
+ }, 200);
+ </script>
+ </body>
+</html>
@@ -0,0 +1 @@
+document.querySelector('body').innerHTML = location.hash.split('=')[1];

0 comments on commit 8623e9b

Please sign in to comment.