Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-06-23-14-48-29
[civicrm-core.git] / js / model / crm.profile-selector.js
index f51aa4dc2b645f304105c90af860945dd02a0ee1..8a7d078bb3deb2a6895db925a661aff90b0fd4f6 100644 (file)
@@ -1,5 +1,4 @@
-(function($) {
-  var CRM = (window.CRM) ? (window.CRM) : (window.CRM = {});
+(function($, _) {
   if (!CRM.ProfileSelector) CRM.ProfileSelector = {};
 
   CRM.ProfileSelector.DummyModel = CRM.Backbone.Model.extend({
@@ -7,4 +6,4 @@
       profile_id: null
     }
   });
-})(cj);
+})(CRM.$, CRM._);