summaryrefslogtreecommitdiff
path: root/js/PluginHost.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-03 09:33:44 +0300
committerAndrew Dolgov <[email protected]>2018-12-03 09:33:44 +0300
commit84affc7b1d71769038dfd25d74e40d6bf744e5fb (patch)
tree97751786520bb686276a0791edc7e646f1822a91 /js/PluginHost.js
parente905ce7ea983e425de85282ce7d24fb9f64402d4 (diff)
rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
remove event.observe from login form (not needed) load pluginhost via amd
Diffstat (limited to 'js/PluginHost.js')
-rw-r--r--js/PluginHost.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/PluginHost.js b/js/PluginHost.js
index 9dbd91756..8e5ff32ec 100644
--- a/js/PluginHost.js
+++ b/js/PluginHost.js
@@ -1,6 +1,6 @@
// based on http://www.velvetcache.org/2010/08/19/a-simple-javascript-hooks-system
-const PluginHost = {
+PluginHost = {
HOOK_ARTICLE_RENDERED: 1,
HOOK_ARTICLE_RENDERED_CDM: 2,
HOOK_ARTICLE_SET_ACTIVE: 3,