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

Use strict #386

Merged
merged 1 commit into from Mar 9, 2015
Merged

Use strict #386

merged 1 commit into from Mar 9, 2015

Conversation

popomore
Copy link
Contributor

@popomore popomore commented Mar 7, 2015

Split PR from #383

Based on #385, merge this PR after that.

@jlongster
Copy link
Contributor

I merged #385 but for some reason this PR isn't updating to show that master already has the single quote commit... Do you know what it hasn't updated? I can't do the code review until I see the single commit for this.

@popomore
Copy link
Contributor Author

popomore commented Mar 9, 2015

I don't know why, I try to rebase for it.

var expect, util, lib;
'use strict';

var expect, util, lib, Environment, Loader, templatesPath;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should define a variable before use it in strict mode.

@popomore
Copy link
Contributor Author

popomore commented Mar 9, 2015

It can be reviewed now.

@jlongster
Copy link
Contributor

Thanks. All tests are passing, so that's good. Let's hope it doesn't break anything else.

jlongster added a commit that referenced this pull request Mar 9, 2015
@jlongster jlongster merged commit 4245822 into master Mar 9, 2015
@popomore popomore deleted the use-strict branch March 9, 2015 15:19
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

2 participants