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 global leak #262

Merged
merged 1 commit into from Jun 25, 2012
Merged

FIX global leak #262

merged 1 commit into from Jun 25, 2012

Conversation

naholyr
Copy link
Contributor

@naholyr naholyr commented Jun 25, 2012

When running functional tests with mocha, it detected a global leak which prevents me from running my tests.

This PR removes the leak, which is always a good thing :)

wycats added a commit that referenced this pull request Jun 25, 2012
@wycats wycats merged commit ff1547e into handlebars-lang:master Jun 25, 2012
@wycats
Copy link
Collaborator

wycats commented Jun 25, 2012

Any idea why jshint didn't catch this?

@naholyr
Copy link
Contributor Author

naholyr commented Jun 25, 2012

Nope, but as mocha detects them on runtime it's far easier for him. Static analysis may not detect them all, that's my guess.

@DavidBruant
Copy link

Nah, static analysis should be able to catch them all (assuming not doing weird things with eval).

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

3 participants