X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fhighlighted-region.js;h=78955d63f039b2915b7ea3eea1d26c43c3f5c5ac;hb=8cc4108bdb0db5006d794be50d1bbca9558373e9;hp=3a951f423dc96f5dbd75c2126338a3915ad796be;hpb=e26b71566419e1c051f3fbd1f4f8f64b063a04c9;p=dygraphs.git diff --git a/gallery/highlighted-region.js b/gallery/highlighted-region.js index 3a951f4..78955d6 100644 --- a/gallery/highlighted-region.js +++ b/gallery/highlighted-region.js @@ -1,3 +1,4 @@ +/*global Gallery,Dygraph,data */ Gallery.register( 'highlighted-region', { @@ -23,7 +24,7 @@ Gallery.register( data[i][2] += 5.0; } - var g = new Dygraph( + new Dygraph( document.getElementById("div_g"), data, {