Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
[mkws-moved-to-github.git] / examples / htdocs / wolfram.html
index 053082b..34438c1 100644 (file)
@@ -20,7 +20,7 @@
     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
     <script type="text/javascript" src="tools/htdocs/handlebars-v2.0.0.js"></script>
     <script type="text/javascript" src="tools/htdocs/pz2.js"></script>
-   
+
     <!-- <script type="text/javascript" src="tools/htdocs/mkws.js"></script> -->
     <script type="text/javascript" src="src/mkws-handlebars.js"></script>
     <script type="text/javascript" src="src/mkws-core.js"></script>
@@ -40,6 +40,9 @@
     <script type="text/javascript" src="src/mkws-templates.js"></script>
 
   </head>
+
+  <!-- Test case: using single JS files in the right order, MKWS config in HEAD
+       before JS files loaded, and a broken jQuery object in BODY section -->
   <body>
     <div class="mkwsAuthname"></div>
     <div class="mkwsSwitch"></div>
     <!-- <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.js"></script> -->
     <script type="text/javascript">
       // check for the real jQuery / $ object
-      console.log("Reset jQuery and $ objection to null....");
+      mkws.log("Reset jQuery and $ objection to null....");
       $ = null;
       jQuery = null;
     </script>
 
   </body>
 </html>
-