re-add 'validate eventName' TODO.
authorKlaus Weidner <klausw@google.com>
Tue, 10 Apr 2012 23:08:32 +0000 (16:08 -0700)
committerKlaus Weidner <klausw@google.com>
Tue, 10 Apr 2012 23:08:32 +0000 (16:08 -0700)
dygraph.js

index 3867b29..528fc4b 100644 (file)
@@ -424,6 +424,7 @@ Dygraph.prototype.__init__ = function(div, file, attrs) {
 
     var handlers = pluginInstance.activate(this);
     for (var eventName in handlers) {
+      // TODO(danvk): validate eventName.
       pluginDict.events[eventName] = handlers[eventName];
     }