From 58cbcc2e27605e20c72e5c397aff6ba796e97ba6 Mon Sep 17 00:00:00 2001 From: teramako Date: Mon, 6 Oct 2008 14:03:52 +0000 Subject: vimp CVS Headに追従(bang[!])の仕様変更に対して) git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20857 d0d07461-0603-4401-acd4-de1884942a52 --- mixiecho.js | 4 +++- nicovideo_comment.js | 1 + reading.js | 2 +- tombloo.js | 1 + twitter.js | 4 +++- wassr.js | 1 + 6 files changed, 10 insertions(+), 3 deletions(-) diff --git a/mixiecho.js b/mixiecho.js index 0ad259c..2fed274 100644 --- a/mixiecho.js +++ b/mixiecho.js @@ -116,6 +116,8 @@ showFollowersStatus() else sayEcho(arg); - }, + },{ + bang: true + } { }); })(); diff --git a/nicovideo_comment.js b/nicovideo_comment.js index cee2169..4157649 100644 --- a/nicovideo_comment.js +++ b/nicovideo_comment.js @@ -20,6 +20,7 @@ liberator.commands.addUserCommand(['nico'],'Fill comment form in nicovideo', var form = special ? 'MailInput.text' : 'ChatInput.text' ; flvp.wrappedJSObject.SetVariable(form, arg.toString() ); },{ + bang: true, completer: function(filter, special){ var templates = []; var commands = [ diff --git a/reading.js b/reading.js index 4ceda93..d81449b 100644 --- a/reading.js +++ b/reading.js @@ -131,7 +131,7 @@ liberator.commands.addUserCommand(['reading'], "update Twitter's status to curre } }, // complete logic is none. - {} + { bang: true } ); // stuff functions diff --git a/tombloo.js b/tombloo.js index e7665ba..cbee74b 100644 --- a/tombloo.js +++ b/tombloo.js @@ -59,6 +59,7 @@ liberator.commands.addUserCommand(['tombloo'],'Post by Tombloo', function(arg,special){ TomblooService.Tombloo.Service.share(getContext(), TomblooService.Tombloo.Service.extractors[arg],special); },{ + bang: true, completer: function(filter){ var completionList = new Array(); var exts = TomblooService.Tombloo.Service.check(getContext()); diff --git a/twitter.js b/twitter.js index 7dfbf03..a158f66 100644 --- a/twitter.js +++ b/twitter.js @@ -171,7 +171,9 @@ showFollowersStatus(username, password, arg) else sayTwitter(username, password, arg); - }, + },{ + bang: true + } { }); })(); // vim:sw=4 ts=4 et: diff --git a/wassr.js b/wassr.js index 32d1a80..5cb5b99 100644 --- a/wassr.js +++ b/wassr.js @@ -302,6 +302,7 @@ [['-todo'], commands.OPTION_STRING], [['-footmark'], null] ], + bang: true, completer: function(filter) { candidates = []; if (filter.match(/{emoji:$/)) { -- cgit v1.2.3