1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 00:25:54 +00:00

rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway

remove event.observe from login form (not needed)
load pluginhost via amd
This commit is contained in:
Andrew Dolgov
2018-12-03 09:33:44 +03:00
parent e905ce7ea9
commit 84affc7b1d
14 changed files with 101 additions and 100 deletions

View File

@@ -1,5 +1,5 @@
define(["dojo/_base/declare"], function (declare) {
return declare("fox.PrefHelpers", null, {
Prefs = {
clearFeedAccessKeys: function() {
if (confirm(__("This will invalidate all previously generated feed URLs. Continue?"))) {
Notify.progress("Clearing URLs...");
@@ -148,5 +148,7 @@ define(["dojo/_base/declare"], function (declare) {
Notify.close();
});
}
});
}
return Prefs;
});