1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:35:55 +00:00

split main objects to dojo modules

This commit is contained in:
Andrew Dolgov
2018-12-02 17:18:59 +03:00
parent fda3ad39c8
commit 807ff07454
9 changed files with 2226 additions and 2210 deletions

View File

@@ -1,8 +1,12 @@
/* global dijit,__,fox */
/* global dijit,__ */
let Utils;
let CommonDialogs;
let Filters;
let Feeds;
let Headlines;
let Article;
let ArticleCache;
const App = {
global_unread: -1,
@@ -51,6 +55,10 @@ const App = {
"fox/Utils",
"fox/CommonDialogs",
"fox/CommonFilters",
"fox/Feeds",
"fox/Headlines",
"fox/Article",
"fox/ArticleCache",
"fox/FeedStoreModel",
"fox/FeedTree"], function (dojo, ready, parser) {
@@ -60,6 +68,10 @@ const App = {
Utils = fox.Utils();
CommonDialogs = fox.CommonDialogs();
Filters = fox.CommonFilters();
Feeds = fox.Feeds();
Headlines = fox.Headlines();
Article = fox.Article();
ArticleCache = fox.ArticleCache();
parser.parse();