revert change to demo.html from 1.1.1
[dygraphs.git] / gallery / color-cycle.js
index a625d7c..b1c0993 100644 (file)
@@ -1,3 +1,4 @@
+/*global Gallery,Dygraph,data */
 Gallery.register(
   'color-cycle',
   {
@@ -18,7 +19,7 @@ Gallery.register(
         ['#444444', '#888888', '#DDDDDD'],
         null
       ];
-      chart = new Dygraph(document.getElementById("blah"),
+      var chart = new Dygraph(document.getElementById("blah"),
                           "X,a,b,c\n" +
                           "10,12345,23456,34567\n" +
                           "11,12345,20123,31345\n",