Skip to content

Commit

Permalink
Added warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tshaddix committed Feb 19, 2017
1 parent 4946fe1 commit 129e05c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/wrap-store/wrapStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export default (store, {
*/
if (chrome.runtime.onMessageExternal) {
chrome.runtime.onMessageExternal.addListener(dispatchResponse);
} else {
console.warn('runtime.onMessageExternal is not supported');
}

/**
Expand All @@ -113,5 +115,7 @@ export default (store, {
*/
if (chrome.runtime.onConnectExternal) {
chrome.runtime.onConnectExternal.addListener(connectState);
} else {
console.warn('runtime.onConnectExternal is not supported');
}
};

0 comments on commit 129e05c

Please sign in to comment.