summaryrefslogtreecommitdiff
path: root/js/PluginHost.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-27 09:28:35 -0700
committerAndrew Dolgov <[email protected]>2013-04-27 09:28:35 -0700
commit712032589c584df154ab4e97c0f1bd5289d4fb1a (patch)
tree22cb9ec576cc1609aaf753e238209e38bf43708e /js/PluginHost.js
parent5e1f7be5f1b704f85114740372fa6e6aa4273446 (diff)
parent8ceea119a8287568439a2a9d167b333f74a47e21 (diff)
Merge pull request #170 from supahgreg/hook_params_runtime_loaded
Adding JS hooks for init params and runtime info
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')