From 0de1a29c25799caace74f3491a365a891e074770 Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 16 Apr 2008 01:36:24 +0000 Subject: [PATCH] Prepare to rename this DojoSRF.js (avoiding code change and name change out of habit) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1311 9efc2488-bf62-4759-914b-345cdb29e865 --- src/javascript/OpenSRF.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/javascript/OpenSRF.js b/src/javascript/OpenSRF.js index 38d69f1..6c2195c 100644 --- a/src/javascript/OpenSRF.js +++ b/src/javascript/OpenSRF.js @@ -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); -- 2.11.0