mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
7580483eae
commit
18ce39a0d1
@ -169,7 +169,9 @@ class LeftAndMain extends Controller {
|
|||||||
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/firebug-lite/firebugx.js');
|
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 . '/thirdparty/prototype/prototype.js');
|
||||||
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/prototypefix/outro.js');
|
||||||
|
|
||||||
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery/jquery.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/thirdparty/jquery/jquery.js');
|
||||||
Requirements::javascript(SAPPHIRE_DIR . '/javascript/jquery_improvements.js');
|
Requirements::javascript(SAPPHIRE_DIR . '/javascript/jquery_improvements.js');
|
||||||
|
Loading…
Reference in New Issue
Block a user