Make scriptaculous use the script-loader properly. Fixes #7642 props codestyling and vladimir_kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3f5b838ee2
commit
02b3467afb
|
@ -82,7 +82,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
'url' => admin_url('admin-ajax.php')
|
||||
) );
|
||||
|
||||
$scripts->add( 'scriptaculous-root', '/wp-includes/js/scriptaculous/scriptaculous.js', array('prototype'), '1.8.0');
|
||||
$scripts->add( 'scriptaculous-root', '/wp-includes/js/scriptaculous/wp-scriptaculous.js', array('prototype'), '1.8.0');
|
||||
$scripts->add( 'scriptaculous-builder', '/wp-includes/js/scriptaculous/builder.js', array('scriptaculous-root'), '1.8.0');
|
||||
$scripts->add( 'scriptaculous-dragdrop', '/wp-includes/js/scriptaculous/dragdrop.js', array('scriptaculous-builder', 'scriptaculous-effects'), '1.8.0');
|
||||
$scripts->add( 'scriptaculous-effects', '/wp-includes/js/scriptaculous/effects.js', array('scriptaculous-root'), '1.8.0');
|
||||
|
|
Loading…
Reference in New Issue