alisey / coffeescript-compiler-for-windows Goto Github PK
View Code? Open in Web Editor NEWStandalone executable that compiles *.coffee to *.js. Options are compatible with the original coffee command.
Standalone executable that compiles *.coffee to *.js. Options are compatible with the original coffee command.
When trying to run with --watch, errors are encountered
It would be nice if you compile the coffee file with semicolon in front of the function :)
I've got a class with method named "delete", as in
class Something
delete: =>
# code
When compiled into JavaScript, the method is declared as
this."delete"
but this throws exceptions in Chrome debugger. Web Workbench generates the code as
this["delete"]
and it does not generate any exceptions.
Not sure if this is the correct place to report this bug. If not, please do let me know.
The easiest way seems to be to rename the method to something else but I'm working on existing code, using this plugin in Sublime Text 2, and would prefer not to change existing code if possible.
the regular coffee command has a few options. i won't list them all here, but the one i need right now is -b (--bare). is there a way to pass in compiler options via your coffee.bat?
I am successfully running Node.js 0.6.3 with NPM on Windows and I followed your instructions (put CoffeeScript into Program Files) but I cannot get it working (I am using Windows XP):
C:\Documents and Settings\alessio>@echo off
'@echo' is not recognized as an internal or external command,
operable program or batch file.
C:\Documents and Settings\alessio>"C:\Program Files\Node\node.exe" "C:\Program F
iles\CoffeeScript\bin\coffee" -v
The system cannot find the path specified.
Page
https://github.com/alisey/CoffeeScript-Compiler-for-Windows
should be something like:
@echo off
"c:\Program Files (x86)\nodejs\node.exe" "c:\Program Files\coffee-script\bin\cof
fee" %*
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.