Merge pull request #13867 from jitendrapurohit/paypalpro
[civicrm-core.git] / js / model / crm.schema-mapped.js
index 7dbc192d27d7a93ab198d70512b37032ad26906a..1a59c0e73f66d5a854847723e4f25ffa155ca670 100644 (file)
@@ -1,8 +1,7 @@
 /**
  * Dynamically-generated alternative to civi.core.js
  */
-(function($) {
-  var CRM = (window.CRM) ? (window.CRM) : (window.CRM = {});
+(function($, _) {
   if (!CRM.Schema) CRM.Schema = {};
 
   /**
@@ -45,4 +44,4 @@
   };
 
   CRM.Schema.loadModels(CRM.civiSchema);
-})(cj);
\ No newline at end of file
+})(CRM.$, CRM._);