Make jQuery a Backbone dependency. see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22775 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fb99782dcd
commit
d477be2d12
@ -257,7 +257,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
$scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", array(), '2011-02-23');
|
||||
|
||||
$scripts->add( 'underscore', '/wp-includes/js/underscore.min.js', array(), '1.4.0', 1 );
|
||||
$scripts->add( 'backbone', '/wp-includes/js/backbone.min.js', array('underscore'), '0.9.2', 1 );
|
||||
$scripts->add( 'backbone', '/wp-includes/js/backbone.min.js', array('underscore','jquery'), '0.9.2', 1 );
|
||||
|
||||
$scripts->add( 'imgareaselect', "/wp-includes/js/imgareaselect/jquery.imgareaselect$suffix.js", array('jquery'), '0.9.8', 1 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user