HOOK_ARTICLE_COLLAPSED: 7,
HOOK_PARAMS_LOADED: 8,
HOOK_RUNTIME_INFO_LOADED: 9,
+ HOOK_FLOATING_TITLE: 10,
hooks: [],
register: function (name, callback) {
if (typeof(this.hooks[name]) == 'undefined')
console.warn('PluginHost::run ' + name);
if (typeof(this.hooks[name]) != 'undefined')
- for (i = 0; i < this.hooks[name].length; i++)
+ for (var i = 0; i < this.hooks[name].length; i++)
if (!this.hooks[name][i](args)) break;
}
};