X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fmodel%2Fcrm.schema-mapped.js;h=1a59c0e73f66d5a854847723e4f25ffa155ca670;hb=af121dc8af7a54c312787e52689ec983cf0f43f3;hp=7dbc192d27d7a93ab198d70512b37032ad26906a;hpb=6a4880350680e1e4d20e5c8a622a791f926ca750;p=civicrm-core.git diff --git a/js/model/crm.schema-mapped.js b/js/model/crm.schema-mapped.js index 7dbc192d27..1a59c0e73f 100644 --- a/js/model/crm.schema-mapped.js +++ b/js/model/crm.schema-mapped.js @@ -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._);