js/Common.js - Fix hard karma crash.
authorTim Otten <totten@civicrm.org>
Fri, 13 Feb 2015 21:17:06 +0000 (13:17 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 13 Feb 2015 21:17:06 +0000 (13:17 -0800)
js/Common.js

index a63a958153913fdab1eed82bec0543339f908c3c..ca2d5ea8a8bd4e2de49bc55318e0f3c97f13832f 100644 (file)
@@ -1,6 +1,6 @@
 // https://civicrm.org/licensing
 /* global CRM:true */
-if (!CRM) CRM = {};
+var CRM = CRM || {};
 var cj = CRM.$ = jQuery;
 CRM._ = _;