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

Fix nested function literal. #47

Merged
merged 1 commit into from
Jul 7, 2015
Merged

Fix nested function literal. #47

merged 1 commit into from
Jul 7, 2015

Conversation

tetious
Copy link
Contributor

@tetious tetious commented Jul 6, 2015

This violates strict-mode, and breaks Safari on MacOS/iOS.

@msftclas
Copy link

msftclas commented Jul 6, 2015

Hi @tetious, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.

TTYL, MSBOT;

@jdalton
Copy link
Contributor

jdalton commented Jul 7, 2015

Nice catch @tetious!

For reference a summary of the issue with function declarations in blocks can be found at https://jslinterrors.com/function-statements-should-not-be-placed-in-blocks

jdalton added a commit that referenced this pull request Jul 7, 2015
Fix nested function literal.
@jdalton jdalton merged commit 3d974eb into winjs:master Jul 7, 2015
@mikewjackson mikewjackson mentioned this pull request Jul 13, 2015
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.

None yet

4 participants