X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fgallery-template.js;h=f38374819fdba43db4efecdf4d213bfb959495ec;hb=b55a71d768d2f8de62877c32b3aec9e9975ac389;hp=efd9f1855c68891cd4d089a89404d816648c1e6b;hpb=c1f22b5a5d4ffbf25a75fc567232e65381c1938b;p=dygraphs.git diff --git a/gallery/gallery-template.js b/gallery/gallery-template.js index efd9f18..f383748 100644 --- a/gallery/gallery-template.js +++ b/gallery/gallery-template.js @@ -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 = "
"; }, run: function() { - g = new Dygraph(document.getElementById("blah"), + new Dygraph(document.getElementById("blah"), "X,Y\n10,12345\n11,12345\n", {}); } });