[Opensrf-commits] r1316 - trunk/src/javascript
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 22 20:56:34 EDT 2008
Author: miker
Date: 2008-04-22 20:17:25 -0400 (Tue, 22 Apr 2008)
New Revision: 1316
Removed:
trunk/src/javascript/OpenSRF.js
Log:
removing redundant file. covered by DojoSRF.js
Deleted: trunk/src/javascript/OpenSRF.js
===================================================================
--- trunk/src/javascript/OpenSRF.js 2008-04-21 17:13:59 UTC (rev 1315)
+++ trunk/src/javascript/OpenSRF.js 2008-04-23 00:17:25 UTC (rev 1316)
@@ -1,17 +0,0 @@
-if(!dojo._hasResource['DojoSRF']){
-
- 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);
-
- OpenSRF.session_cache = {};
- OpenSRF.CachedClientSession = function ( app ) {
- if (this.session_cache[app]) return this.session_cache[app];
- this.session_cache[app] = new OpenSRF.ClientSession ( app );
- return this.session_cache[app];
- }
-}
More information about the opensrf-commits
mailing list