Changeset 359
- Timestamp:
- 05/25/06 08:26:53 (2 years ago)
- Files:
-
- trunk/openlayers/build (copied) (copied from sandbox/follower/b-singlefile/build)
- trunk/openlayers/build/library.cfg (copied) (copied from sandbox/follower/b-singlefile/build/library.cfg)
- trunk/openlayers/lib/OpenLayers.js (modified) (2 diffs)
- trunk/openlayers/lib/_sfl_header.js (copied) (copied from sandbox/follower/b-singlefile/lib/_sfl_header.js)
- trunk/openlayers/tools (copied) (copied from sandbox/follower/b-singlefile/tools)
- trunk/openlayers/tools/README.txt (copied) (copied from sandbox/follower/b-singlefile/tools/README.txt)
- trunk/openlayers/tools/mergejs.py (copied) (copied from sandbox/follower/b-singlefile/tools/mergejs.py)
- trunk/openlayers/tools/toposort.py (copied) (copied from sandbox/follower/b-singlefile/tools/toposort.py)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers.js
r349 r359 30 30 } 31 31 32 try{new OpenLayers.Map();} 33 catch(e){ 32 /* 33 `_OPENLAYERS_SFL_` is a flag indicating this file is being included 34 in a Single File Library build of the OpenLayers Library. 35 36 When we are *not* part of a SFL build we dynamically include the 37 OpenLayers library code. 38 39 When we *are* part of a SFL build we do not dynamically include the 40 OpenLayers library code as it will be appended at the end of this file. 41 */ 42 if (typeof(_OPENLAYERS_SFL_) == "undefined") { 43 /* 44 The original code appeared to use a try/catch block 45 to avoid polluting the global namespace, 46 we now use a anonymous function to achieve the same result. 47 */ 48 (function() { 34 49 var jsfiles=new Array( 35 50 "Prototype.js", … … 79 94 } 80 95 document.write(allScriptTags); 81 }; 96 })(); 97 }
