diff options
author | otsune | 2008-10-29 13:50:03 +0000 |
---|---|---|
committer | otsune | 2008-10-29 13:50:03 +0000 |
commit | 08c34e568814ea61f0b45b18678c9235ba24703c (patch) | |
tree | 6b2f68b506b886381024a9faba4a239d84914f30 /tombloo.js | |
parent | d3cb38497a87d97ea150ad5c8463017a1559e97c (diff) | |
download | vimperator-plugins-08c34e568814ea61f0b45b18678c9235ba24703c.tar.bz2 |
* arg -> arg.string
* fix scope for current
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@22324 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'tombloo.js')
-rw-r--r-- | tombloo.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,7 +41,7 @@ function getContext(){ },{}),win.location); } -liberator.commands.addUserCommand(['tomblooAction'],'Execute Tombloo actions', +commands.addUserCommand(['tomblooAction'],'Execute Tombloo actions', function(arg){ TomblooService.Tombloo.Service.actions[arg].execute(); },{ @@ -55,9 +55,9 @@ liberator.commands.addUserCommand(['tomblooAction'],'Execute Tombloo actions', } ); -liberator.commands.addUserCommand(['tombloo'],'Post by Tombloo', +commands.addUserCommand(['tombloo'],'Post by Tombloo', function(arg,special){ - TomblooService.Tombloo.Service.share(getContext(),TomblooService.Tombloo.Service.extractors[arg],special); + TomblooService.Tombloo.Service.share(getContext(),TomblooService.Tombloo.Service.extractors[arg.string],special); },{ bang: true, completer: function(filter){ |