Prepare to rename this DojoSRF.js (avoiding code change and name change out of habit)
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Apr 2008 01:36:24 +0000 (01:36 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 16 Apr 2008 01:36:24 +0000 (01:36 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1311 9efc2488-bf62-4759-914b-345cdb29e865

src/javascript/OpenSRF.js

index 38d69f1..6c2195c 100644 (file)
@@ -1,7 +1,10 @@
-if(!dojo._hasResource['OpenSRF']){
+if(!dojo._hasResource['DojoSRF']){
 
-       dojo._hasResource['OpenSRF'] = true;
-       dojo.provide('OpenSRF');
+       dojo._hasResource['DojoSRF'] = true;
+       dojo.provide('DojoSRF');
+
+       // Note: this file was renamed from OpenSRF.js to DojoSRF.js,
+       // but still provides resources with the OpenSRF namespace
        dojo.require('opensrf.opensrf', true);
        dojo.require('opensrf.opensrf_xhr', true);