diff options
author | anekos | 2012-06-24 09:39:16 +0900 |
---|---|---|
committer | anekos | 2012-06-24 21:28:42 +0900 |
commit | 7d07c1c85dcd219ce655f284af9db0e48cf1460f (patch) | |
tree | 592004b4576ed4ba25c08f82900b9d822e4e23e3 /twittperator | |
parent | b154a038b64942c5e894c99d75975e524a7c2fdb (diff) | |
download | vimperator-plugins-7d07c1c85dcd219ce655f284af9db0e48cf1460f.tar.bz2 |
twsidebar でツイートを表示しないようにもできるようにした > modifier
Diffstat (limited to 'twittperator')
-rwxr-xr-x | twittperator/twsidebar.tw | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw index 341622f..9418e0a 100755 --- a/twittperator/twsidebar.tw +++ b/twittperator/twsidebar.tw @@ -51,6 +51,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { silentStart: false, // 配列かオブジェクトを返すと、変更できる。 + // 文字列 "reject" を返すと、そもそもツイートが表示されなくなる。 modifier: function (msg, tab, streamName) { return [msg, tab, streamName]; } @@ -167,6 +168,8 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { if (modified) { if (modified instanceof Array) { [t, tab, streamName] = modified; + } if (modified === 'reject') { + return; } else { t = modified; } |