Comments (3)
I found the function cs2js here https://github.com/michaelficarra/CoffeeScriptRedux/blob/master/src/module.coffee#L68 but it doesn't work exactly like the old compile func coffeescript 1.* even though the comment is "# Equivalent to original CS compile".
When I run cs2js and pass in the option to create the source map (just like I used to in the .compile func I get an error:
Warning: Cannot read property 'length' of undefined Use --force to continue.
Aborted due to warnings.
from coffeescriptredux.
cs2js
does not take the same options as compile
.
from coffeescriptredux.
Great comment and insight on options. Best closed before any chat of new options. 👍
from coffeescriptredux.
Related Issues (20)
- CR after line continuation backslash leads to syntax error
- Switch doesn't work with the ternary operator HOT 2
- syntax error in javascript output when last function parameter is both a splat and a property HOT 9
- New line escaping (\) doesn't work in some cases
- Is function declaration output possible HOT 2
- AST node ranges are not always correct HOT 7
- status? HOT 33
- ES6 support HOT 43
- REPL tests broken under iojs / new nodejs HOT 2
- Existential range slices HOT 1
- Assignment inside iterator scope HOT 1
- Project Status HOT 6
- JSON.parse stack traces break when using register HOT 1
- A static module system proposal for CS HOT 1
- -r command line option doesn't seem to work HOT 5
- feature request: compile to go and php HOT 2
- Confusing behaviour when inheriting from classes with bound methods HOT 1
- What's the state of this project? HOT 3
- Is project dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coffeescriptredux.