Commit Graph

19 Commits (f7ee812db201ed05e7be6fe47e4bbbda5a1e67e5)

Author SHA1 Message Date
Andrew Dolgov efde6d36c7 add HOOK_HEADLINES_SCROLL_HANDLER 3 years ago
Andrew Dolgov 146b1e0feb * shorten_expanded: use ResizeObserver (DUH)
* add HOOK_HEADLINES_RENDERED
3 years ago
Andrew Dolgov ae7b87bca9 add HOOK_HEADLINE_MUTATIONS, HOOK_HEADLINE_MUTATIONS_SYNCED 3 years ago
Andrew Dolgov 88027d7a39 fix various minor issues reported by eslint 4 years ago
Andrew Dolgov e37f8cfa78 don't use declare() for static objects with no inheritance because apparently it's not actually needed by AMD 4 years ago
ltGuillaume 44bfbc9529 Allow to unregister plugin hooks 5 years ago
Andrew Dolgov 6479c07324 js: add PluginHost.HOOK_COUNTERS_PROCESSED 5 years ago
Andrew Dolgov 2411cc8d1c js: add PluginHost.HOOK_COUNTERS_RECEIVED 5 years ago
Gilles Grandou 392ad0bd83 fix PluginHost run method.
callbacks have no return value and anyway we should not prevent
to run subsequent plugins because one has failed.
6 years ago
Andrew Dolgov a0d332326c add PluginHost.HOOK_HEADLINE_RENDERED 6 years ago
Andrew Dolgov a400a8ffc1 add PluginHost.HOOK_INIT_COMPLETE (and make no_title_counters use it) 6 years ago
Andrew Dolgov 84affc7b1d 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
6 years ago
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 6 years ago
Andrew Dolgov 0267212454 move to let/const syntax in custom dojo modules 6 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 6 years ago
Andrew Dolgov 4f62f8f6dc add js hook for floating title 11 years ago
supahgreg 8ceea119a8 Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated. 11 years ago
Andrew Dolgov 2779e22bf5 js: add collapsed and expanded hooks 11 years ago
Andrew Dolgov a06045adf0 add missing pluginhost source 11 years ago