Skip to content

Update app.ejs#99

Open
astanciu wants to merge 1 commit intokilianc:developfrom
astanciu:patch-1
Open

Update app.ejs#99
astanciu wants to merge 1 commit intokilianc:developfrom
astanciu:patch-1

Conversation

@astanciu
Copy link
Copy Markdown

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
Copy Markdown
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