From 025f61b064b016851cb8a4fe652861237a4a7b2d Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 27 Aug 2009 09:02:20 +0000 Subject: Follow HEAD git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35093 d0d07461-0603-4401-acd4-de1884942a52 --- auto_source.js | 4 ++-- reading.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/auto_source.js b/auto_source.js index b4524f0..7c69176 100644 --- a/auto_source.js +++ b/auto_source.js @@ -38,7 +38,7 @@ let PLUGIN_INFO = Auto Source Sourcing automatically when the specified file is modified. 指定のファイルが変更されたら自動で :so する。 - 1.4.2 + 1.4.3 anekos 2.0pre 2.0pre @@ -141,7 +141,7 @@ let PLUGIN_INFO = ['autoso[urce]', 'aso'], 'Sourcing automatically when the specified file is modified.', function (arg) { - (bang.bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']); + (arg.bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']); }, { bang: true, diff --git a/reading.js b/reading.js index b2c2015..785b0c2 100644 --- a/reading.js +++ b/reading.js @@ -4,7 +4,7 @@ * @description update Twitter's status to current URL and comment * @description-ja 今見てるページの URL とタイトルをコメントといっしょに Twitter に投稿する * @author janus_wel - * @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; } -- cgit v1.2.3