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

breaking updates to coffescript #2

Open
couchand opened this issue Jan 22, 2018 · 2 comments
Open

breaking updates to coffescript #2

couchand opened this issue Jan 22, 2018 · 2 comments

Comments

@couchand
Copy link
Owner

This package was written in CoffeeScript, but the specific language version was not annotated in the package.json. There have been breaking changes in CoffeeScript since then, and it's annoying to localize them since the right version isn't documented.

Let's either de-coffee this project or update & document the dependency.

@cancerberoSgx
Copy link

Hey! I really want to use this project but I can't .Could you tell me which command do you use to generate something that I can Execute ? I think you need to transpile those classes into functions because you are not using new..

I tried with

npx coffee --compile --output all .

but when trying to execute it throws TypeError: Class constructor Line cannot be invoked without 'new' which is correct

For the way you designed the APi I think those should be functions , not classes.

I really want to use this, but unfortunately I'm short of time... will try but would beawesome if you could make it work and transpile it to js, then I can contribute.. thanks!

@couchand
Copy link
Owner Author

couchand commented May 2, 2019

If all you want to do is use this as is, the npm package should work without a problem.

On the other hand, if your goal is to make some changes to the code, then you've run into precisely the problem documented here.

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

No branches or pull requests

2 participants