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

Update app.ejs #99

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Update app.ejs #99

wants to merge 1 commit into from

Conversation

astanciu
Copy link

The default streamDirection from localStorage comes back as null, not undefined

The default streamDirection from localStorage comes back as `null`, not `undefined`
@kilianc
Copy link
Owner

kilianc commented Nov 20, 2015

I agree that a less strict nil matching is fine - btw you can just use null == to match both undefined and null - but I still don't understand why an unset value is returned as null. There is a deeper bug somewhere, in localForage in my code or somewhere in between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants