-
Notifications
You must be signed in to change notification settings - Fork 171
Fixes to support CS2 #596
Fixes to support CS2 #596
Conversation
jashkenas/coffeescript#4463 has been fixed in jashkenas/coffeescript#4485 |
The brand new JSX syntax in CS2 also needs to be handled. |
The JSX syntax is especially important for a linter to handle. In the docs I recommend people always put spaces on either side of |
LOGIC tokens were taken out in ~1.12.x and replaced with '&&', '||', '&', '|' related tokens.
LOGIC tokens were removed in ~12.1.x so this just updates with the new token names
now does an extra check to make sure CALL_START aren't on the same line
update references of coffee-script to coffeescript
Is this being merged? |
Coffeescript 2 is now released: http://coffeescript.org/announcing-coffeescript-2/ |
Right now you cannot interop CS and ES2015 classes. Since tests are run by using vows, which uses JS, RawReporter is being imported as a ES2015 class, while PassThroughReporter is a CS class. This fixes the issue of the two classes being different class types by making them both ES2015 classes.
All test pass. If you want to try out CS2 support feel free to point to this branch. It is late here, so I want to wait until I have time to monitor when the library before publishing to npm. |
Sorry it's a bit late here so I'm not going to be able to look at this until tomorrow. I'm guessing npm installing a branch was never viable. |
No problem, good night, we can wait a bit more. :) Thanks again for the support, we all appreciate it! It's kind of strange because this file IS there. Also I've npm-installed packages from GitHub branches before... not sure what the issue is. |
I also ran into errors trying to install with npm using their Although I happen to already have a local clone from contributing other PRs, so I checked out the |
@swang - could you merge this and release a new version please? :) |
Still 3 broken tests, 1 test is due to possibly to bug described here: jashkenas/coffeescript#4463