Add unit test to detect the "unwanted draw point"
[dygraphs.git] / gallery / gallery-template.js
index efd9f18..f383748 100644 (file)
@@ -1,4 +1,5 @@
 // Use this as a template for new Gallery entries.
+/*global Gallery,Dygraph,data */
 Gallery.register(
   'id',
   {
@@ -8,7 +9,7 @@ Gallery.register(
       parent.innerHTML = "<div id='blah'>";
     },
     run: function() {
-      g = new Dygraph(document.getElementById("blah"),
+      new Dygraph(document.getElementById("blah"),
                 "X,Y\n10,12345\n11,12345\n", {});
     }
   });