Turn auto-tests script into an object for saner manipulation.
[dygraphs.git] / auto_tests / misc / local.html
index 83e55db..6bdb547 100644 (file)
   <p/>
 </body>
 <script type="text/javascript">
-  overrideWarn();
-  processVariables();
+  var tester = new DygraphsLocalTester();
+  // tester.overrideWarn(); // uncomment if you want warnings to be errors.
+  tester.processVariables();
   addGlobalTestSymbols();
-  run();
+  tester.run();
 </script>
 </html>