Skip to content

Commit 69ef081

Browse files
author
DB
committed
v0.14
1 parent b91ef27 commit 69ef081

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

addon/background.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ function removeListener(result){
1515
}
1616

1717
function onNmResponse(response){
18-
console.log("NM Response: " + response);
18+
console.log("NM Response: %o", response);
1919
}
2020

2121
function onNmError(error){
22-
console.log("NM Error: " + error);
22+
console.log("NM Error: %o", error);
2323
}
2424

2525
function actionFunc(action, nmhost, context, shell, wait, info, tab){
@@ -43,9 +43,9 @@ function actionFunc(action, nmhost, context, shell, wait, info, tab){
4343
wait: wait
4444
}
4545

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

48-
var sending = browser.runtime.sendNativeMessage(nmhost, JSON.stringify(msg));
48+
var sending = browser.runtime.sendNativeMessage(nmhost, msg);
4949
sending.then(onNmResponse, onNmError);
5050
}
5151

addon/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "RunWith",
44
"description": "Run external commands on contextual elements",
5-
"version": "0.13",
5+
"version": "0.14",
66
"applications": {
77
"gecko": {
88

0 commit comments

Comments
 (0)