aboutsummaryrefslogtreecommitdiffstats
path: root/tombloo.js
diff options
context:
space:
mode:
Diffstat (limited to 'tombloo.js')
-rw-r--r--tombloo.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tombloo.js b/tombloo.js
index 085287d..b71203f 100644
--- a/tombloo.js
+++ b/tombloo.js
@@ -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){