Changeset 16092 for lang/javascript/vimperator-plugins/trunk
- Timestamp:
- 07/22/08 21:23:47 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/tombloo.js
r15967 r16092 5 5 * @description-ja Tombloo経由で選択領域などをpostする 6 6 * @author Trapezoid 7 * @version 0.1 a7 * @version 0.1b 8 8 * ==/VimperatorPlugin== 9 9 * 10 10 * Usage: 11 * :tombloo arg -> post by Tombloo 12 * :tomblooAction arg -> execute Tombloo's action in tool menu 11 * :tombloo arg -> post by Tombloo (don't use prompt) 12 * :tombloo! arg -> post by Tombloo (use prompt) 13 * :tomblooAction arg -> execute Tombloo's action in tool menu 13 14 **/ 14 15 var TomblooService = Components.classes['@brasil.to/tombloo-service;1'].getService().wrappedJSObject; … … 56 57 57 58 liberator.commands.addUserCommand(['tombloo'],'Post by Tombloo', 58 function(arg ){59 TomblooService.Tombloo.Service.share(getContext(), TomblooService.Tombloo.Service.extracters[arg], true);59 function(arg,special){ 60 TomblooService.Tombloo.Service.share(getContext(), TomblooService.Tombloo.Service.extracters[arg],special); 60 61 },{ 61 62 completer: function(filter){ … … 69 70 } 70 71 ); 72 73 liberator.options.add(['tomblooprompt'],'Use Tombloo prompt','boolean',this.isEnable, 74 { 75 setter: function(value){ self.isEnable = value; }, 76 getter: function(){ return self.isEnable; } 77 } 78 );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)