Handle observables and fires augments in plugins

This makes it easier to switch themes.
This commit is contained in:
Andreas Hocevar
2014-05-06 10:14:28 -05:00
parent c2a9e95a37
commit 959e14c31a
6 changed files with 59 additions and 59 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ exports.handlers = {
doclet.fires = fires;
} else {
eventClass = classes[doclet.longname.split('#')[0]];
if (!(fires in eventClass)) {
if (!eventClass.fires) {
eventClass.fires = [];
}
eventClass.fires.push.apply(eventClass.fires, doclet.fires);