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

Fixed improper scoping of siblings to the splat argument. #1346

Merged
merged 6 commits into from May 16, 2011
Merged

Fixed improper scoping of siblings to the splat argument. #1346

merged 6 commits into from May 16, 2011

Conversation

sparecycles
Copy link
Contributor

Splat scope fixes now on a branch. (original request #1336)

The only real changes here are in src/nodes.coffee and the two new tests, (everything else is downstream of cake and rake)

x = 10
([x]) -> # used to not declare var x

this is one fix, the other way to fix
it is to remove the entire if ... olen is 1 ....
block... not sure if that's a good idea or not.
@jashkenas
Copy link
Owner

Before evaluting this pull request -- mind fixing it to remove the changes to the documentation, to extras/coffee-script.js, and to index.html?

@sparecycles
Copy link
Contributor Author

right, wasn't sure about those...

@sparecycles
Copy link
Contributor Author

so you do want the changes to lib/nodes.js, right?

jashkenas added a commit that referenced this pull request May 16, 2011
Fixed improper scoping of siblings to the splat argument.
@jashkenas jashkenas merged commit 004f13f into jashkenas:master May 16, 2011
@jashkenas
Copy link
Owner

Yep -- well done.

@sparecycles
Copy link
Contributor Author

Cool, this was my first pull request. Thanks for your patience!

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