aboutsummaryrefslogtreecommitdiffstats
path: root/jquery-loader.js
diff options
context:
space:
mode:
authoranekos2010-03-05 16:04:25 +0000
committeranekos2010-03-05 16:04:25 +0000
commit7c1ca9396634121252c0de58337d6a449d608714 (patch)
tree01cd348f9cfc23794612b9aa5806ad654d187ea4 /jquery-loader.js
parent2463ff2c08f9fa685cd50f1e6515c1e2e53893d5 (diff)
downloadvimperator-plugins-7c1ca9396634121252c0de58337d6a449d608714.tar.bz2
コメントで指摘されたバグの修正 (location の指定忘れ)
caisui, Thanks! http://vimperator.g.hatena.ne.jp/nokturnalmortum/20100304#c1267799439 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36949 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'jquery-loader.js')
-rwxr-xr-xjquery-loader.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/jquery-loader.js b/jquery-loader.js
index 2c044db..e03cd9c 100755
--- a/jquery-loader.js
+++ b/jquery-loader.js
@@ -39,7 +39,7 @@ let PLUGIN_INFO =
<name lang="ja">jQuery Loader</name>
<description>jQuery Loader</description>
<description lang="ja">jQuery Loader</description>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
@@ -57,7 +57,7 @@ let PLUGIN_INFO =
// INFO {{{
let INFO =
<>
- <plugin name="jQueryLoader" version="1.0.0"
+ <plugin name="jQueryLoader" version="1.0.1"
href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/jquery-loader.js"
summary="jQuery Loader"
lang="en-US"
@@ -79,7 +79,8 @@ let INFO =
let setup = function () {
let context = {
get window () content.window.wrappedJSObject,
- get document () content.document.wrappedJSObject
+ get document () content.document.wrappedJSObject,
+ get location () content.window.location.wrappedJSObject
};
liberator.eval(File(filepath).read(), context);
return context.window.jQuery;