Fix most warnings in tests; add support for loading (non-auto) tests to phantom-drive...
[dygraphs.git] / tests / out-of-order.html
index 10ad58d..706ddec 100644 (file)
 
     <script type="text/javascript" src="http://www.google.com/jsapi"></script>
     <script type="text/javascript">
+      // Capture warnings, since these are what we want in this test.
+      Dygraph.prototype.warn = function(msg) {
+        console.log(msg);
+      };
+
       google.load('visualization', '1');
 
       function createDataTable(dateType) {