aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2010-09-29 00:02:40 +0000
committeranekos2010-09-29 00:02:40 +0000
commit31094aba8840b27984e447893063a35d732c44aa (patch)
tree6f7a835a777568387df42c2af9188eaa5a3ca0b1 /twittperator.js
parent069832408e364be7deab41fe14f345cd4cbb198d (diff)
downloadvimperator-plugins-31094aba8840b27984e447893063a35d732c44aa.tar.bz2
どの stream に現れるか不確定になってアレすぎるので revert します。ごめんなさい。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38531 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-xtwittperator.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/twittperator.js b/twittperator.js
index 632f184..de016cc 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1384,14 +1384,6 @@ let PLUGIN_INFO =
}
function onMsg(msg, raw) {
- let hash = getStatusHash(msg)
- if (recentTweets.some(function (it) it === hash))
- return;
-
- recentTweets.unshift(hash);
- if (recentTweets.length > 10)
- recentTweets.splice(10);
-
listeners.forEach(function(listener) liberator.trapErrors(function() listener(msg, raw)));
if (msg.text)
@@ -2086,7 +2078,6 @@ let PLUGIN_INFO =
trackWords: gv.twittperator_track_words,
});
- let recentTweets = []; // 複数の Stream で同じものが出現するのを防ぐもの
let statusRefreshTimer;
let expiredStatus = true;