aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtwittperator.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js
index 1243f25..7b2e6ef 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.0.4</version>
+ <version>1.0.5</version>
<minVersion>2.3</minVersion>
<maxVersion>2.4</maxVersion>
<author mail="teramako@gmail.com" homepage="http://d.hatena.ne.jp/teramako/">teramako</author>
@@ -1289,7 +1289,8 @@ let PLUGIN_INFO =
return {
start: start,
stop: stop,
- addListener: function(func) listeners.push(func)
+ addListener: function(func) listeners.push(func),
+ removeListener: function(func) (listeners = listeners.filter(function (l) (l != func)))
};
})(); // }}}
function xmlhttpRequest(options) { // {{{