mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user