diff options
author | anekos | 2010-08-27 14:29:39 +0000 |
---|---|---|
committer | anekos | 2010-08-27 14:29:39 +0000 |
commit | 7ff18d4f6cdb4cdc8ac55ded36c69aec90da8ccb (patch) | |
tree | a48870bfc85c35c8aaa55a4f2b27a6ffca0a750a | |
parent | 0bbf154be57d26508903b8e80641cbc20f27a129 (diff) | |
download | vimperator-plugins-7ff18d4f6cdb4cdc8ac55ded36c69aec90da8ccb.tar.bz2 |
:tw!@name を修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38369 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-x | twittperator.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js index dba631f..54d47da 100755 --- a/twittperator.js +++ b/twittperator.js @@ -28,7 +28,7 @@ let PLUGIN_INFO = <name>twittperator</name> <description>Twitter Client using ChirpStream</description> <description lang="ja">OAuth対応Twitterクライアント</description> - <version>1.4.1</version> + <version>1.4.2</version> <minVersion>2.3</minVersion> <maxVersion>2.4</maxVersion> <author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author> @@ -1419,7 +1419,9 @@ let PLUGIN_INFO = result.forEach(function(msg) history.push(msg)); } } - onload(history); + // XXX API 的な仕様とは異なる挙動 + let (name = target || setting.screenName) + onload(history.filter(function(it) it.user && it.user.screen_name === name)); }); } }, // }}} |