diff options
author | anekos | 2009-08-27 09:02:20 +0000 |
---|---|---|
committer | anekos | 2009-08-27 09:02:20 +0000 |
commit | 025f61b064b016851cb8a4fe652861237a4a7b2d (patch) | |
tree | bb0045813e009ca16b4980c9b18100bc3adb1ccc /reading.js | |
parent | 76493bca826c8a59ad252fe90c228e4f1e12997a (diff) | |
download | vimperator-plugins-025f61b064b016851cb8a4fe652861237a4a7b2d.tar.bz2 |
Follow HEAD
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35093 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'reading.js')
-rw-r--r-- | reading.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * @description update Twitter's status to current URL and comment
* @description-ja 今見てるページの URL とタイトルをコメントといっしょに Twitter に投稿する
* @author janus_wel <janus_wel@fb3.so-net.ne.jp>
- * @version 0.22
+ * @version 0.23
* @minversion 2.0pre 2008/10/16
* ==/VimperatorPlugin==
*
@@ -80,7 +80,7 @@ Scraper.prototype = { };
liberator.modules.commands.addUserCommand(['reading'], "update Twitter's status to current page title, URL and comment",
- function(args, special) {
+ function(args) {
try {
let arg = args.string;
@@ -104,7 +104,7 @@ liberator.modules.commands.addUserCommand(['reading'], "update Twitter's status .replace(/\$COMMENT/g, arg);
// ':matanico!' display the evaluated format.
- if(special) {
+ if(args.bang) {
liberator.modules.util.copyToClipboard(post_string, true);
return;
}
|