Fix lint errors in gallery and add its JS files to lint.sh
[dygraphs.git] / gallery / stock.js
index 4c6af6d..511aef1 100644 (file)
@@ -17,15 +17,15 @@ Gallery.register(
             customBars: true,
             logscale: true
           });
-  
+
       var linear = document.getElementById("linear");
       var log = document.getElementById("log");
-      linear.onclick = function() { setLog(false); }
-      log.onclick = function() { setLog(true); }
+      linear.onclick = function() { setLog(false); };
+      log.onclick = function() { setLog(true); };
       var setLog = function(val) {
         g.updateOptions({ logscale: val });
         linear.disabled = !val;
         log.disabled = val;
-      }
+      };
     }
-  });
\ No newline at end of file
+  });