From c4805d4bf4f2e9e23216abf3af4efcfe03656e9e Mon Sep 17 00:00:00 2001 From: trapezoid Date: Thu, 17 Jul 2008 21:58:33 +0000 Subject: Textに対応 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@15967 d0d07461-0603-4401-acd4-de1884942a52 --- tombloo.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tombloo.js') diff --git a/tombloo.js b/tombloo.js index 54ef90d..165420e 100644 --- a/tombloo.js +++ b/tombloo.js @@ -4,7 +4,7 @@ * @description Tombloo integrate plugin * @description-ja Tombloo経由で選択領域などをpostする * @author Trapezoid - * @version 0.1 + * @version 0.1a * ==/VimperatorPlugin== * * Usage: @@ -56,13 +56,11 @@ liberator.commands.addUserCommand(['tomblooAction'],'Execute Tombloo actions', liberator.commands.addUserCommand(['tombloo'],'Post by Tombloo', function(arg){ - liberator.log(TomblooService.Tombloo.Service.extracters); - TomblooService.Tombloo.Service.share(getContext(), TomblooService.Tombloo.Service.extracters[arg],false); + TomblooService.Tombloo.Service.share(getContext(), TomblooService.Tombloo.Service.extracters[arg],true); },{ completer: function(filter){ var completionList = new Array(); var exts = TomblooService.Tombloo.Service.check(getContext()); - liberator.log(exts[0]); for(var i=0; i < exts.length; i++) if(exts[i].name.indexOf(filter) > -1) completionList.push([exts[i].name,exts[i].name]); -- cgit v1.2.3