aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2010-08-01 01:24:25 +0000
committeranekos2010-08-01 01:24:25 +0000
commit0203de39a535d58b3a350956e844903611c9e055 (patch)
tree2f4c825555fddfd9e164c312543cd20928f8afc4
parent093aebd9d2bc2e770c282e3e72f46b8c0fb5fc3b (diff)
downloadvimperator-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-xtwittperator/reply-popup-alert.tw4
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);
}