Skip to content

Commit

Permalink
v0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
DB committed Apr 5, 2018
1 parent b91ef27 commit 69ef081
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions addon/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ function removeListener(result){
}

function onNmResponse(response){
console.log("NM Response: " + response);
console.log("NM Response: %o", response);
}

function onNmError(error){
console.log("NM Error: " + error);
console.log("NM Error: %o", error);
}

function actionFunc(action, nmhost, context, shell, wait, info, tab){
Expand All @@ -43,9 +43,9 @@ function actionFunc(action, nmhost, context, shell, wait, info, tab){
wait: wait
}

console.log('About to run: ' + JSON.stringify(msg));
console.log('About to run: %s', JSON.stringify(msg));

var sending = browser.runtime.sendNativeMessage(nmhost, JSON.stringify(msg));
var sending = browser.runtime.sendNativeMessage(nmhost, msg);
sending.then(onNmResponse, onNmError);
}

Expand Down
2 changes: 1 addition & 1 deletion addon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "RunWith",
"description": "Run external commands on contextual elements",
"version": "0.13",
"version": "0.14",
"applications": {
"gecko": {
"id": "[email protected]",
Expand Down

0 comments on commit 69ef081

Please sign in to comment.