diff options
author | anekos | 2010-05-25 19:26:23 +0000 |
---|---|---|
committer | anekos | 2010-05-25 19:26:23 +0000 |
commit | acc484ca4d755f2a5534f016eff371d02e24be59 (patch) | |
tree | a19344eb5874ba750edd2ecb93372432cb47ae78 /foxage2ch.js | |
parent | f46f04b6807f6cbaeac6c70b0ad2e8fbddd78ffe (diff) | |
download | vimperator-plugins-acc484ca4d755f2a5534f016eff371d02e24be59.tar.bz2 |
bang! で tab 開きを切り替え
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37707 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'foxage2ch.js')
-rwxr-xr-x | foxage2ch.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/foxage2ch.js b/foxage2ch.js index e9d0902..2b3d26c 100755 --- a/foxage2ch.js +++ b/foxage2ch.js @@ -37,7 +37,7 @@ let PLUGIN_INFO = <VimperatorPlugin> <name>FoxAge2ch</name> <description>for FoxAge2ch</description> - <version>1.0.1</version> + <version>1.0.2</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> @@ -55,7 +55,7 @@ let PLUGIN_INFO = // INFO {{{ let INFO = <> - <plugin name="FoxAge2ch" version="1.0.0" + <plugin name="FoxAge2ch" version="1.0.2" href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/foxage2ch.js" summary="for FoxAge2ch addon" lang="en-US" @@ -74,7 +74,7 @@ let INFO = </description> </item> </plugin> - <plugin name="FoxAge2ch" version="1.0.0" + <plugin name="FoxAge2ch" version="1.0.2" href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/foxage2ch.js" summary="FoxAge2ch アドオン用" lang="ja" @@ -147,9 +147,10 @@ let INFO = let thread = threads()[parseInt(args.literalArg.replace(/^.\s/, ''), 10) - 1]; if (!thread) return; - FoxAge2chUtils.service.openItem(thread, tab, false); + FoxAge2chUtils.service.openItem(thread, !tab ^ !args.bang, false); }, { + bang: true, literal: 0, options: [ [ |