]> git.wh0rd.org Git - tt-rss.git/commitdiff
js: remove obsolete dojo require calls
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 18 Mar 2011 15:10:24 +0000 (18:10 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 18 Mar 2011 15:10:24 +0000 (18:10 +0300)
prefs.js
tt-rss.js

index 2d7f9dff1697d2429e380ee69757bf59815b8d86..02d65bc412f0c0deeea874fcfefa4409a77f3f4d 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -885,32 +885,6 @@ function init_second_stage() {
 function init() {
 
        try {
-
-               /* dojo.require("dijit.layout.TabContainer");
-               dojo.require("dijit.layout.BorderContainer");
-               dojo.require("dijit.layout.AccordionContainer");
-               dojo.require("dijit.layout.ContentPane");
-               dojo.require("dijit.Dialog");
-               dojo.require("dijit.form.Button");
-               dojo.require("dijit.form.Select");
-               dojo.require("dijit.form.FilteringSelect");
-               dojo.require("dijit.form.TextBox");
-               dojo.require("dijit.form.CheckBox");
-               dojo.require("dijit.form.ValidationTextBox");
-               dojo.require("dijit.form.RadioButton");
-               dojo.require("dijit.form.Select");
-               dojo.require("dijit.Toolbar");
-               dojo.require("dojo.data.ItemFileWriteStore");
-               dojo.require("dijit.Tree");
-               dojo.require("dijit.form.DropDownButton");
-               dojo.require("dijit.form.Form");
-               dojo.require("dijit.Menu");
-               dojo.require("dijit.tree.dndSource");
-               dojo.require("dijit.InlineEditBox");
-               dojo.require("dijit.ColorPalette");
-               dojo.require("dijit.ProgressBar");
-               dojo.require("dijit.form.SimpleTextarea"); */
-
                dojo.registerModulePath("lib", "..");
                dojo.registerModulePath("fox", "../..");
 
index 57b62c71068c38b13975e4277fd3e15eb23eb923..d439c37ede6a6f86c62572c233192b598af9da31 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -274,29 +274,6 @@ function genericSanityCheck() {
 
 function init() {
        try {
-               //Form.disable("main_toolbar_form");
-
-               // Our layer takes care of Dojo dependencies.
-
-               /* dojo.require("dijit.layout.BorderContainer");
-               dojo.require("dijit.layout.TabContainer");
-               dojo.require("dijit.layout.ContentPane");
-               dojo.require("dijit.Dialog");
-               dojo.require("dijit.form.Button");
-               dojo.require("dijit.Menu");
-               dojo.require("dojo.data.ItemFileWriteStore");
-               dojo.require("dijit.Tree");
-               dojo.require("dijit.form.Select");
-               dojo.require("dijit.form.TextBox");
-               dojo.require("dijit.form.ValidationTextBox");
-               dojo.require("dijit.form.FilteringSelect");
-               dojo.require("dijit.form.CheckBox");
-               dojo.require("dijit.form.SimpleTextarea");
-               dojo.require("dijit.Toolbar");
-               dojo.require("dijit.ProgressBar");
-               dojo.require("dijit.Menu");
-               dojo.require("dojo.parser"); */
-
                dojo.registerModulePath("fox", "../..");
 
                dojo.require("fox.FeedTree");