klaus comments on plugins
authorDan Vanderkam <danvk@google.com>
Tue, 10 Apr 2012 22:38:00 +0000 (18:38 -0400)
committerDan Vanderkam <danvk@google.com>
Tue, 10 Apr 2012 22:38:00 +0000 (18:38 -0400)
dygraph.js
plugins/base.js
plugins/install.js

index 9a05677..e1cdd4e 100644 (file)
@@ -477,7 +477,7 @@ Dygraph.prototype.cascadeEvents_ = function(name, extra_props) {
     },
     propagationStopped: false,
     stopPropagation: function() {
-      propagationStopped = true;
+      e.propagationStopped = true;
     }
   };
   Dygraph.update(e, extra_props);
index 5ae917d..518a620 100644 (file)
@@ -1,2 +1,4 @@
 // Namespace for plugins.
 Dygraph.Plugins = {};
+
+// TODO(danvk): move this into the top-level directory. Only plugins here.
index 14aaefa..a7d8e6a 100644 (file)
@@ -1,3 +1,4 @@
+// TODO(danvk): move this into the top-level directory. Only plugins here.
 Dygraph.PLUGINS.push(
   Dygraph.Plugins.Legend
 );