Skip to content
New issue

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

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

Already on GitHub? # to your account

fix strict mode error #64

Merged
merged 1 commit into from
Jan 4, 2017
Merged

fix strict mode error #64

merged 1 commit into from
Jan 4, 2017

Conversation

raro28
Copy link

@raro28 raro28 commented Jan 3, 2017

When using Safari 8 I get the following error:
strict mode does not allow function declarations in a lexically nested statement

This commit preserves 'use strict', tested on Safari 8 and Safari 10.

Source:
http://eslint.org/docs/rules/no-inner-declarations

@CitizenOfRome CitizenOfRome merged commit 8bc6de2 into DoersGuild:master Jan 4, 2017
@CitizenOfRome
Copy link

Merged, thank you @3kthor3adward

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

Successfully merging this pull request may close these issues.

2 participants