From 0463990fe75c4573fc6463fe685d2ea1e400c370 Mon Sep 17 00:00:00 2001 From: trapezoid Date: Fri, 21 Mar 2008 01:40:50 +0000 Subject: lang/javascript/vimperator-plugins/trunk: 08/03/19のCVS HEADに対応 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@8231 d0d07461-0603-4401-acd4-de1884942a52 --- twitter.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'twitter.js') diff --git a/twitter.js b/twitter.js index c8db18d..b2d465d 100644 --- a/twitter.js +++ b/twitter.js @@ -1,5 +1,5 @@ // Vimperator plugin: 'Update Twitter' -// Last Change: 17-Mar-2008. Jan 2008 +// Last Change: 21-Mar-2008. Jan 2008 // License: Creative Commons // Maintainer: Trapezoid - http://unsigned.g.hatena.ne.jp/Trapezoid // @@ -13,7 +13,7 @@ xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.send("status=" + encodeURIComponent(stat)); } - vimperator.commands.addUserCommand(['twitter'], 'Change twitter status', + liberator.commands.addUserCommand(['twitter'], 'Change twitter status', function(arg,special){ var password; var username; @@ -22,14 +22,14 @@ if(logins.length) [username, password] = [logins[0].username, logins[0].password]; else - vimperator.echoerr("Twitter: account not found"); + liberator.echoerr("Twitter: account not found"); } catch(ex) { } if(special){ - arg = arg.replace(/%URL%/g, vimperator.buffer.URL) - .replace(/%TITLE%/g ,vimperator.buffer.title); + arg = arg.replace(/%URL%/g, liberator.buffer.URL) + .replace(/%TITLE%/g ,liberator.buffer.title); } sayTwitter(username,password,arg); -- cgit v1.2.3