Enable "strict" mode -- and fix one missing "var" declaration.
[dygraphs.git] / dygraph-tickers.js
index 0ca06e7..a17519e 100644 (file)
@@ -58,6 +58,8 @@
  *   middle of the years.
  */
 
+"use strict";
+
 Dygraph.numericTicks = function(a, b, pixels, opts, dygraph, vals) {
   var pixels_per_tick = opts('pixelsPerLabel');
   var ticks = [];