X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fannotations-native.js;h=0183b0246c5aec551cc25051fd33762fb88701fc;hb=6eef8c1b9ec7b247ee2b508032bd3ec957d0fb68;hp=8ed7ff9d7c134a8ad710d51fcd1c86c492bc3b7a;hpb=436943f9fee49b1f892480f04f0dc4d5abc5fca0;p=dygraphs.git diff --git a/gallery/annotations-native.js b/gallery/annotations-native.js index 8ed7ff9..0183b02 100644 --- a/gallery/annotations-native.js +++ b/gallery/annotations-native.js @@ -1,3 +1,4 @@ +/*global Gallery,Dygraph,data */ Gallery.register( 'annotations-native', { @@ -9,7 +10,7 @@ Gallery.register( "
"; }, run: function() { - g = new Dygraph( + var g = new Dygraph( document.getElementById("demodiv"), [ [ new Date("2011/11/01"), 100 ],