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 "use strict" declarations to runtime files #676

Closed
wants to merge 1 commit into from

Conversation

zbirkenbuel
Copy link
Contributor

Runtime script files are now decorated with "use strict"; statements to keep them in compliance with standard stylecop and eslint style checks. Globalize code is already strict mode compliant. This change will not affect browser compatibility since older browsers will simply ignore the statement. Currently only modifying the built "runtime" files.

strict mode statements are contained within the module loader and factory function scopes so that they do not interfere with other files loaded in a browser.

@jsf-clabot
Copy link

jsf-clabot commented Jan 18, 2017

CLA assistant check
All committers have signed the CLA.

Runtime script files are now decorated with "use strict"; statements
to keep them in compliance with standard stylecop and eslint style checks.
Globalize code is already strict mode compliant.  This change will not
affect browser compatability since older browsers will simply ignore the
statement.  Currently only modifying the built "runtime" files.
@jzaefferer
Copy link
Contributor

About half the time the indentation is inconsistent with the following line of code. Otherwise this looks fine to me.

@rxaviers rxaviers added this to the 1.3.0 milestone Mar 17, 2017
@rxaviers rxaviers closed this in c2b26fa Apr 12, 2017
rxaviers added a commit that referenced this pull request Apr 12, 2017
@rxaviers
Copy link
Member

Merged. Thank you @zbirkenbuel and @jzaefferer for reviewing it.

@zbirkenbuel zbirkenbuel deleted the strict branch April 13, 2017 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants