diff options
author | anekos | 2008-11-15 06:25:58 +0000 |
---|---|---|
committer | anekos | 2008-11-15 06:25:58 +0000 |
commit | 4fa6b253c26d47bd5f9aa2f976773e7d521a6757 (patch) | |
tree | 638072ebe2171d9235bf18cdedc560d9e6701fa6 | |
parent | b3bd606ea321b3efc6337309192152cc1bb2431b (diff) | |
download | vimperator-plugins-4fa6b253c26d47bd5f9aa2f976773e7d521a6757.tar.bz2 |
デバッグ用コードの除去
その他。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@23763 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | asdfghjkl.js | 1 | ||||
-rw-r--r-- | auto_detect_link.js | 3 | ||||
-rw-r--r-- | auto_source.js | 5 |
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); |