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

render article on the client using headlines data

This commit is contained in:
Andrew Dolgov
2018-12-08 09:32:14 +03:00
parent 41e967136f
commit bd66a9ef28
8 changed files with 135 additions and 156 deletions

View File

@@ -7,7 +7,6 @@ let Filters;
let Feeds;
let Headlines;
let Article;
let ArticleCache;
let PluginHost;
const Plugins = {};
@@ -54,7 +53,6 @@ require(["dojo/_base/kernel",
"fox/Feeds",
"fox/Headlines",
"fox/Article",
"fox/ArticleCache",
"fox/FeedStoreModel",
"fox/FeedTree"], function (dojo, declare, ready, parser, AppBase) {
@@ -138,8 +136,6 @@ require(["dojo/_base/kernel",
App.setLoadingProgress(50);
ArticleCache.clear();
this._widescreen_mode = App.getInitParam("widescreen");
this.switchPanelMode(this._widescreen_mode);
@@ -162,7 +158,6 @@ require(["dojo/_base/kernel",
document.title = tmp;
},
onViewModeChanged: function() {
ArticleCache.clear();
return Feeds.reloadCurrent('');
},
isCombinedMode: function() {