aboutsummaryrefslogtreecommitdiffstats
path: root/twitter.js
diff options
context:
space:
mode:
authortrapezoid2008-03-21 01:40:50 +0000
committertrapezoid2008-03-21 01:40:50 +0000
commit0463990fe75c4573fc6463fe685d2ea1e400c370 (patch)
tree9bcca737c142d75f9b48bc5c3719659558628309 /twitter.js
parentaad373b519fdaf2b04004db3e95c1571c5d9ddf8 (diff)
downloadvimperator-plugins-0463990fe75c4573fc6463fe685d2ea1e400c370.tar.bz2
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
Diffstat (limited to 'twitter.js')
-rw-r--r--twitter.js10
1 files changed, 5 insertions, 5 deletions
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 <trapezoid.g@gmail.com> - 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);