use the ‘pubsub’ class as a means to tag DOM elements that need to receive API events
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 14 Dec 2013 10:03:08 +0000 (11:03 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 14 Dec 2013 10:03:08 +0000 (11:03 +0100)
commit2c59023275130fa32c3a215df0c192b750aa190f
tree2eaa2580b28d99c257e57814b10a78847553907a
parent69482802ee8c2bef1323ba7b95ba5e629d11fa91
use the ‘pubsub’ class as a means to tag DOM elements that need to receive API events
this is instead of the ‘plugin’ class that was used previously, and that relied on the
DOM building helpers and conventions that we have in place for ‘real’ plugins
However we want to be able to deal with plugins that piggyback on existing DOM elts
that do not necessarily have .plugin
As a side effect the topmenu buttons do not need to have .plugin to work with validatebutton
manifold/static/js/manifold.js
manifold/static/js/plugin.js
ui/templates/widget-topmenu.html