aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auto_source.js4
-rw-r--r--reading.js6
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 =
<name>Auto Source</name>
<description>Sourcing automatically when the specified file is modified.</description>
<description lang="ja">指定のファイルが変更されたら自動で :so する。</description>
- <version>1.4.2</version>
+ <version>1.4.3</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
@@ -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 <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;
}