diff options
author | anekos | 2010-08-01 01:24:25 +0000 |
---|---|---|
committer | anekos | 2010-08-01 01:24:25 +0000 |
commit | 0203de39a535d58b3a350956e844903611c9e055 (patch) | |
tree | 2f4c825555fddfd9e164c312543cd20928f8afc4 | |
parent | 093aebd9d2bc2e770c282e3e72f46b8c0fb5fc3b (diff) | |
download | vimperator-plugins-0203de39a535d58b3a350956e844903611c9e055.tar.bz2 |
変数名まつがい
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38112 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-x | twittperator/reply-popup-alert.tw | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/twittperator/reply-popup-alert.tw b/twittperator/reply-popup-alert.tw index 153a59c..c742356 100755 --- a/twittperator/reply-popup-alert.tw +++ b/twittperator/reply-popup-alert.tw @@ -5,7 +5,7 @@ */ (function () { - let screenName = liberator.globalVariables.twittperator_plugin_popup_reply_username; + let screenName = liberator.globalVariables.twittperator_plugin_reply_popup_alert_username; function popupAlert (iconPath, title, text, buttonEnabled, a, b) { const ALERT_SVC = @@ -20,6 +20,8 @@ plugins.twittperator.ChirpUserStream.addListener( function onMsg (msg, raw) { + if (msg.text && msg.user) + liberator.log(msg.user.screen_name + ' -> ' + msg.in_reply_to_screen_name + ': ' + msg.text); if (msg.text && msg.user && msg.in_reply_to_screen_name === screenName) simplePopupAlert(msg.user.screen_name, msg.text, msg.user.profile_image_url); } |