ENHANCEMENT Including prototypefix javascript in LeftAndMain::init() to speed up CMS loading by using native browser DOM methods instead of slower prototypejs overloads. This should be a temporary measure until we can remove prototype.js from the default installation.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92753 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 03:17:01 +00:00
parent 7580483eae
commit 18ce39a0d1

View File

@ -169,7 +169,9 @@ class LeftAndMain extends Controller {
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/firebug-lite/firebugx.js');
}
Requirements::javascript(SAPPHIRE_DIR . '/javascript/prototypefix/intro.js');
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/prototype/prototype.js');
Requirements::javascript(SAPPHIRE_DIR . '/javascript/prototypefix/outro.js');
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery/jquery.js');
Requirements::javascript(SAPPHIRE_DIR . '/javascript/jquery_improvements.js');