Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for chrome apps #143

Merged
merged 3 commits into from
Dec 29, 2014
Merged

add support for chrome apps #143

merged 3 commits into from
Dec 29, 2014

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.


var storage;

if (chrome.storage.local !== undefined)
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