X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=gallery%2Ftwo-axes.js;h=fae6c899886852a5b15840a57c189a3b0c041c61;hb=daab85060912edf8b14c7315a40b3cbe9e923c07;hp=80dc5fd0d12e86ebe872e7f1806ab6b9d41581a1;hpb=e1e80cce232a1efbebc1e3dbe236ecf957464c68;p=dygraphs.git
diff --git a/gallery/two-axes.js b/gallery/two-axes.js
index 80dc5fd..fae6c89 100644
--- a/gallery/two-axes.js
+++ b/gallery/two-axes.js
@@ -1,3 +1,4 @@
+/*global Gallery,Dygraph,data */
Gallery.register(
'two-axes',
{
@@ -11,6 +12,7 @@ Gallery.register(
"";
},
run: function() {
+ var g, g2;
document.getElementById('check').onchange = function(el) {
g.updateOptions( { fillGraph: el.checked } );
g2.updateOptions( { fillGraph: el.checked } );