summaryrefslogtreecommitdiff
path: root/js/PluginHost.js
diff options
context:
space:
mode:
authorsupahgreg <[email protected]>2013-04-27 11:01:54 -0500
committersupahgreg <[email protected]>2013-04-27 11:10:21 -0500
commit8ceea119a8287568439a2a9d167b333f74a47e21 (patch)
tree22cb9ec576cc1609aaf753e238209e38bf43708e /js/PluginHost.js
parentabbe9c1f555baa7ae14b9424ff995edb16122d1c (diff)
Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated.
Diffstat (limited to 'js/PluginHost.js')
-rw-r--r--js/PluginHost.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/PluginHost.js b/js/PluginHost.js
index de4c57b60..668d215f9 100644
--- a/js/PluginHost.js
+++ b/js/PluginHost.js
@@ -8,6 +8,8 @@ var PluginHost = {
HOOK_FEED_LOADED: 5,
HOOK_ARTICLE_EXPANDED: 6,
HOOK_ARTICLE_COLLAPSED: 7,
+ HOOK_PARAMS_LOADED: 8,
+ HOOK_RUNTIME_INFO_LOADED: 9,
hooks: [],
register: function (name, callback) {
if (typeof(this.hooks[name]) == 'undefined')