X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2Fimport.js;h=11ebfcb401529ffcaedb9a9386f64863b6ea4a2a;hb=20c3a948b20e52efc28fd103fc075d787c6d65d2;hp=5d820a34b7edda35fe590912d0615f4fedc2ddf6;hpb=5f61a48d303bf9ca6bf021d8957aac743fc8958b;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/import.js b/0.6.x/js/import.js index 5d820a3..11ebfcb 100644 --- a/0.6.x/js/import.js +++ b/0.6.x/js/import.js @@ -1,55 +1,71 @@ +var basePath = ''; +(function(){ + var src = document.scripts[ document.scripts.length - 1 ].src; + basePath = src.split( 'js/' )[ 0 ]; +})(); + document.write( [ - '' -].join( '">