Add variable declarations for most all graphs and charts.
[dygraphs.git] / tests / no-range.html
index 26a2c0f..656654a 100644 (file)
     <div id="blah2"></div>
 
     <script type="text/javascript">
-    new Dygraph(document.getElementById("blah"),
+    var g1 = new Dygraph(document.getElementById("blah"),
                 "X,Y\n10,12345\n11,12345\n",
                 { width: 640, height: 480 });
 
-    new Dygraph(document.getElementById("blah2"),
+    var g2 = new Dygraph(document.getElementById("blah2"),
 "date,10M\n" +
 "20021229,10000000.000000\n" +
 "20030105,10000000.000000\n" +