Changeset 10070
- Timestamp:
- 08/27/2015 01:06:42 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/js/bp-plupload.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/js/bp-plupload.js
r10049 r10070 2 2 3 3 window.wp = window.wp || {}; 4 window.bp = window.bp || _.omit( window.wp, ['Uploader', 'emoji'] );4 window.bp = window.bp || {}; 5 5 6 6 ( function( exports, $ ) { … … 11 11 } 12 12 13 // Set the bp global by only getting what we need from the wp one. 14 window.bp = _.pick( window.wp, 'Backbone', 'ajax', 'template' ); 15 16 // Init Models, Collections, Views and the BuddyPress Uploader 13 17 bp.Models = bp.Models || {}; 14 18 bp.Collections = bp.Collections || {};
Note: See TracChangeset
for help on using the changeset viewer.