mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-05-02 05:47:04 +02:00
Modify mocha-test-clients to use Karma (#149)
This commit is contained in:
committed by
Kumar McMillan
parent
395786e353
commit
8638cd7698
@@ -3,7 +3,7 @@ var Background = {
|
||||
if (msg && msg.action && Background.hasOwnProperty(msg.action)) {
|
||||
return Background[msg.action](msg, sender, sendResponse);
|
||||
} else {
|
||||
console.warning('No handler for message: ' + JSON.stringify(msg));
|
||||
console.warn('No handler for message: ' + JSON.stringify(msg));
|
||||
}
|
||||
},
|
||||
ping: function(msg, sender, sendResponse) {
|
||||
@@ -12,4 +12,4 @@ var Background = {
|
||||
}
|
||||
};
|
||||
|
||||
chrome.runtime.onMessage.addListener(Background.receiveMessage);
|
||||
chrome.runtime.onMessage.addListener(Background.receiveMessage);
|
||||
|
||||
Reference in New Issue
Block a user