Index: chrome/ext/common.js |
=================================================================== |
--- a/chrome/ext/common.js |
+++ b/chrome/ext/common.js |
@@ -112,4 +112,8 @@ |
ext.backgroundPage.sendMessage = chrome.extension.sendMessage; |
else |
ext.backgroundPage.sendMessage = chrome.extension.sendRequest; |
+ |
+ // Chrome on Linux does not fully support chrome.notifications yet ( https://code.google.com/p/chromium/issues/detail?id=291485 ) |
Thomas Greiner
2014/02/19 09:25:56
Move all of the added code to ext/chrome/backgroun
saroyanm
2014/02/19 13:14:42
Done.
Thomas, can you please give me just a hint r
|
+ if ("notifications" in chrome && navigator.platform.indexOf("Linux") == -1) |
+ ext.notifications = chrome.notifications; |
})(); |