mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 03:45:54 +00:00
set use strict on JS modules; remove some mostly useless stuff like get_minified_js()
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
'use strict'
|
||||
/* global __, ngettext */
|
||||
define(["dojo/_base/declare"], function (declare) {
|
||||
return declare("fox.Utils", null, {
|
||||
_rpc_seq: 0,
|
||||
@@ -235,12 +237,6 @@ define(["dojo/_base/declare"], function (declare) {
|
||||
|
||||
console.log("RI:", k, "=>", v);
|
||||
|
||||
if (k == "dep_ts" && parseInt(getInitParam("dep_ts")) > 0) {
|
||||
if (parseInt(getInitParam("dep_ts")) < parseInt(v) && getInitParam("reload_on_ts_change")) {
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
if (k == "daemon_is_running" && v != 1) {
|
||||
notify_error("<span onclick=\"Utils.explainError(1)\">Update daemon is not running.</span>", true);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user