Skip to content

Conversation

@marmolejo
Copy link
Contributor

In a chrome app, it appears the following error:

window.localStorage is not available in packaged apps. Use chrome.storage.local instead.

browser.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chrome.storage.local !== undefined
// ReferenceError: Can't find variable: chrome

in every browser other than chrome

Zeus Gómez Marmolejo added 2 commits October 8, 2014 17:27
Sorry, this should work now. window.localStorage is undefined in chrome apps.
@marmolejo
Copy link
Contributor Author

Ok thanks for the correction... now it should work :))

TooTallNate added a commit that referenced this pull request Dec 29, 2014
add support for chrome apps
@TooTallNate TooTallNate merged commit a98c283 into debug-js:master Dec 29, 2014
@TooTallNate
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants