Check for new options before updating synchronised graphs (Fixes #760)
[dygraphs.git] / gallery / edge-padding.js
index 160f4bf..be79054 100644 (file)
@@ -1,3 +1,4 @@
+/*global Gallery,Dygraph,data */
 Gallery.register(
   'edge-padding',
   {
@@ -38,7 +39,7 @@ Gallery.register(
 
           var g = new Dygraph(gdiv, data, {
               labels: ['x', 'A', 'B'],
-              labelDivWidth: 100,
+              labelsDivWidth: 100,
               gridLineColor: '#ccc',
               includeZero: true,
               width: 250,