mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:55:56 +00:00
don't use declare() for static objects with no inheritance because apparently it's not actually needed by AMD
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// based on http://www.velvetcache.org/2010/08/19/a-simple-javascript-hooks-system
|
||||
|
||||
PluginHost = {
|
||||
const PluginHost = {
|
||||
HOOK_ARTICLE_RENDERED: 1,
|
||||
HOOK_ARTICLE_RENDERED_CDM: 2,
|
||||
HOOK_ARTICLE_SET_ACTIVE: 3,
|
||||
|
||||
Reference in New Issue
Block a user