Changeset 8772 for trunk/src/bp-core/bp-core-cssjs.php
- Timestamp:
- 08/09/2014 04:22:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-cssjs.php
r8770 r8772 16 16 */ 17 17 function bp_core_register_common_scripts() { 18 $ ext = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '.js' : '.min.js';18 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 19 19 $url = buddypress()->plugin_url . 'bp-core/js/'; 20 20 … … 22 22 23 23 // Legacy 24 'bp-confirm' => array( 'file' => "{$url}confirm{$ ext}", 'dependencies' => array( 'jquery' ) ),25 'bp-widget-members' => array( 'file' => "{$url}widget-members{$ ext}", 'dependencies' => array( 'jquery' ) ),26 'bp-jquery-query' => array( 'file' => "{$url}jquery-query{$ ext}", 'dependencies' => array( 'jquery' ) ),27 'bp-jquery-cookie' => array( 'file' => "{$url}jquery-cookie{$ ext}", 'dependencies' => array( 'jquery' ) ),24 'bp-confirm' => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ) ), 25 'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ) ), 26 'bp-jquery-query' => array( 'file' => "{$url}jquery-query{$min}.js", 'dependencies' => array( 'jquery' ) ), 27 'bp-jquery-cookie' => array( 'file' => "{$url}jquery-cookie{$min}.js", 'dependencies' => array( 'jquery' ) ), 28 28 29 29 // 2.1 30 'jquery-caret' => array( 'file' => "{$url}jquery.caret{$ ext}", 'dependencies' => array( 'jquery' ) ),31 'jquery-atwho' => array( 'file' => "{$url}jquery.atwho{$ ext}", 'dependencies' => array( 'jquery', 'jquery-caret' ) ),30 'jquery-caret' => array( 'file' => "{$url}jquery.caret{$min}.js", 'dependencies' => array( 'jquery' ) ), 31 'jquery-atwho' => array( 'file' => "{$url}jquery.atwho{$min}.js", 'dependencies' => array( 'jquery', 'jquery-caret' ) ), 32 32 ) ); 33 33
Note: See TracChangeset
for help on using the changeset viewer.