1
0
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:
Andrew Dolgov
2020-06-04 19:50:13 +03:00
parent 06cc6e3a2a
commit e37f8cfa78
7 changed files with 2539 additions and 2563 deletions

View File

@@ -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,