run jasmine test at DOM ready, MKWS-237
authorWolfram Schneider <wosch@indexdata.dk>
Mon, 21 Jul 2014 13:32:32 +0000 (13:32 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Mon, 21 Jul 2014 13:32:32 +0000 (13:32 +0000)
examples/htdocs/jasmine-local-popup.html
test/js/mkws-jasmine-run.js

index ed44aff..d5758b3 100644 (file)
@@ -37,7 +37,6 @@
     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
 
     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
-    <script type="text/javascript"> mkws_jasmine_init(500); </script>
 
     <style type="text/css">
       body > div > form > input.ui-state-default { background: none; }
index 1aec289..4dbe9b3 100644 (file)
@@ -35,4 +35,8 @@ function mkws_jasmine_init(delay) {
     }
 };
 
+$(document).ready(function() { 
+    mkws_jasmine_init(100);
+});
+
 /* EOF */