From: Klaus Weidner Date: Tue, 10 Apr 2012 23:08:32 +0000 (-0700) Subject: re-add 'validate eventName' TODO. X-Git-Tag: v1.0.0~283^2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=28aa77ac7282494f66ccc0901c39f54a847919e3;p=dygraphs.git re-add 'validate eventName' TODO. --- diff --git a/dygraph.js b/dygraph.js index 3867b29..528fc4b 100644 --- a/dygraph.js +++ b/dygraph.js @@ -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]; }