shorten declaration of PrefHelpers.OPML

This commit is contained in:
Andrew Dolgov 2018-12-03 12:57:19 +03:00
parent 8f1881e12c
commit a049b5bd88
1 changed files with 67 additions and 68 deletions

View File

@ -147,10 +147,8 @@ define(["dojo/_base/declare"], function (declare) {
dijit.byId('genConfigTab').attr('content', transport.responseText); dijit.byId('genConfigTab').attr('content', transport.responseText);
Notify.close(); Notify.close();
}); });
} },
}; OPML: {
Helpers.OPML = {
import: function() { import: function() {
const opml_file = $("opml_file"); const opml_file = $("opml_file");
@ -225,6 +223,7 @@ define(["dojo/_base/declare"], function (declare) {
} }
return false; return false;
}, },
}
}; };
return Helpers; return Helpers;