danvk/dygraphs — pull request #143 by klausw-g (2012-04-10 23:04:12+00:00)
Title: Plugin tweaks

Update plugin registry

- use legend.prototype consistently for method calls, remove .call() hack

- replace the registerer with returning an event map object

Avoid calling length on undefined if no event handlers are registered. (I tried disabling the legend plugin, this caused breakage.)