X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2Fimport.js;h=41c69a2e32e0afb75e435c4928e73a7bfc9a217e;hb=5633b955bc9fcd998e8ecf7e8e30c311aafc588c;hp=5d75604f20a5710fda37a6490b733e237c497754;hpb=ee1651f04c1539d15db006d6285a4ff77c546613;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/import.js b/0.6.x/js/import.js index 5d75604..41c69a2 100644 --- a/0.6.x/js/import.js +++ b/0.6.x/js/import.js @@ -1,37 +1,76 @@ +var basePath = ''; +(function(){ + var src = document.scripts[ document.scripts.length - 1 ].src; + basePath = src.split( 'js/' )[ 0 ]; +})(); + document.write( [ - '' -].join( '">