aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asdfghjkl.js1
-rw-r--r--auto_detect_link.js3
-rw-r--r--auto_source.js5
3 files changed, 2 insertions, 7 deletions
diff --git a/asdfghjkl.js b/asdfghjkl.js
index 0648b39..75cbddf 100644
--- a/asdfghjkl.js
+++ b/asdfghjkl.js
@@ -54,7 +54,6 @@
if (modes.extended & modes.HINTS) {
let act = active;
let key = events.toString(event);
- liberator.log(act);
if (key == mode_change_key) {
active = !active;
event.preventDefault();
diff --git a/auto_detect_link.js b/auto_detect_link.js
index d854203..3236929 100644
--- a/auto_detect_link.js
+++ b/auto_detect_link.js
@@ -164,7 +164,6 @@
// 要素をクリックする
function clickElement (elem) {
- liberator.log('click: ' + elem);
var e = content.document.createEvent('MouseEvents');
e.initMouseEvent('click', true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
elem.dispatchEvent(e);
@@ -175,13 +174,11 @@
function displayOpened (link) {
var msg = 'open: ' + link.type + ' <' + removeSpace(link.text) + '> ' + link.uri;
setTimeout(function () liberator.echo(msg, commandline.FORCE_SINGLELINE), gv().displayDelay);
- liberator.log(msg);
}
// リンクを開く
function open (link) {
- liberator.log(link);
if (link.element) {
clickElement(link.element);
} else if (link.uri) {
diff --git a/auto_source.js b/auto_source.js
index 19bbace..cd6c7fa 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -5,8 +5,8 @@
// @license Creative Commons 2.1 (Attribution + Share Alike)
// @version 1.0
// @author anekos (anekos@snca.net)
+// @minVersion 1.2
// @maxVersion 2.0pre
-// @minVersion 2.0pre
// ==/VimperatorPlugin==
//
// Usage:
@@ -66,12 +66,11 @@
['autoso[urce]', 'aso'],
'Sourcing automatically when the specified file is modified.',
function (arg, bang) {
- liberator.log(arg);
- liberator.log(io.expandPath(arg.string));
(bang ? killWatcher : startWatching)(io.expandPath(arg.string));
},
{
bang: true,
+ argCount: '1',
completer: function (arg, bang) {
return bang ? [0, [[filepath, ''] for (filepath in files)]]
: completion.file.apply(this, arguments);