Multiple fixes for chrome app

This commit is contained in:
Matias Pando 2014-12-02 10:40:24 -03:00
commit 834c57a51a
12 changed files with 88 additions and 10 deletions

View file

@ -6,7 +6,7 @@ factory('notification', ['$timeout',
var localStorage;
if (window.chrome && chrome.runtime && chrome.runtime.id) {
console.log('Is a chrome app!');
console.log('Is a chrome app!...notification.js');
localStorage = chrome.storage.local;
} else {
console.log('Is web!');