aboutsummaryrefslogtreecommitdiffstats
path: root/twitter.js
diff options
context:
space:
mode:
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);