diff options
author | suVene | 2008-12-18 14:35:44 +0000 |
---|---|---|
committer | suVene | 2008-12-18 14:35:44 +0000 |
commit | c3edf91140e9f8bef88bc2375f0cea4f2a753541 (patch) | |
tree | a30db1047785c8100a73ed28f4b2a2f84c990693 /nextlink.js | |
parent | 356cfec1fb32d4c4f202dfab16a85d935b057590 (diff) | |
download | vimperator-plugins-c3edf91140e9f8bef88bc2375f0cea4f2a753541.tar.bz2 |
* autocmd の ! を削除。(上書き防止)
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27029 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'nextlink.js')
-rw-r--r-- | nextlink.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nextlink.js b/nextlink.js index 12d4f15..60d2fbc 100644 --- a/nextlink.js +++ b/nextlink.js @@ -5,11 +5,11 @@ var PLUGIN_INFO = <description>mapping "[[", "]]" by AutoPagerize XPath.</description> <description lang="ja">AutoPagerize 用の XPath より "[[", "]]" をマッピングします。</description> <author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author> - <version>0.2.5</version> + <version>0.2.6</version> <minVersion>1.2</minVersion> <maxVersion>2.0pre</maxVersion> <detail><![CDATA[ -== NEEDS LIBRARY == +== Needs Library == - _libly.js(ver.0.1.9) @see http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/_libly.js @@ -105,8 +105,8 @@ NextLink.prototype = { $U.bind(this, function(args) { this.handler(args); }), null, true ); var loadEvent = autocommands['DOMLoad'] || 'PageLoad'; // for 1.2 - liberator.execute(':autocmd! ' + (this.is2_0later ? 'DOMLoad' : 'PageLoad') + ' .* :nextlink onLoad'); - liberator.execute(':autocmd! LocationChange .* :nextlink onLocationChange'); + liberator.execute(':autocmd ' + (this.is2_0later ? 'DOMLoad' : 'PageLoad') + ' .* :nextlink onLoad'); + liberator.execute(':autocmd LocationChange .* :nextlink onLocationChange'); }, handler: function(args) { event = args.string || args; |