Finishing centralization of BrowserStore

Этот коммит содержится в:
Christopher Speller
2015-07-08 12:38:14 -04:00
родитель 7f5ebb42b5
Коммит d5785ee901
6 изменённых файлов: 46 добавлений и 31 удалений

Просмотреть файл

@@ -97,20 +97,6 @@ module.exports.getCookie = function(name) {
if (parts.length == 2) return parts.pop().split(";").shift();
}
module.exports.isLocalStorageSupported = function() {
try {
sessionStorage.setItem("testSession", '1');
sessionStorage.removeItem("testSession");
localStorage.setItem("testLocal", '1');
localStorage.removeItem("testLocal", '1');
return true;
}
catch (e) {
return false;
}
}
module.exports.notifyMe = function(title, body, channel) {
if ("Notification" in window && Notification.permission !== 'denied') {