From 54ccf648be4ba00a39b48e641ca549c7a38b8979 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov <fox@madoka.volgo-balt.ru> Date: Fri, 18 Mar 2011 18:10:24 +0300 Subject: [PATCH] js: remove obsolete dojo require calls --- prefs.js | 26 -------------------------- tt-rss.js | 23 ----------------------- 2 files changed, 49 deletions(-) diff --git a/prefs.js b/prefs.js index 2d7f9dff1..02d65bc41 100644 --- 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", "../.."); diff --git a/tt-rss.js b/tt-rss.js index 57b62c710..d439c37ed 100644 --- 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");