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