Changeset 75
- Timestamp:
- 10/09/06 10:27:42 (2 years ago)
- Files:
-
- branches/experimental/jsolait/jsolait.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/experimental/jsolait/jsolait.js
r74 r75 46 46 mod.baseURI="./jsolait"; 47 47 /*@baseURI end*/ 48 48 49 try{// to guess the location where jsolait is installed 50 var elems=document.getElementsByTagName('script'); 51 for(var i=0;i<elems.length;i++){ 52 var src=elems[i].getAttribute('src'); 53 var idx=src.indexOf('jsolait.js'); 54 if(idx>0){ 55 mod.baseURI=src.slice(0,idx-1); 56 break; 57 } 58 } 59 }catch(e){ 60 } 61 49 62 ///The paths to the modules that come with jsolait. 50 63 //do not edit the following lines, it will be replaced by the build script … … 782 795 } 783 796 }; 784 785 797 786 798 //---------------------------------------------------String Format -------------------------------------------------------
