4 ms·
Right, I just read the comments below. There's no mention of CoffeeScript anywhere. CoffeeScript is not JavaScript. If it's a JavaScript framework, please give
by chrisbroadfoot 15y ago
Right, I just read the comments below. There's no mention of CoffeeScript anywhere.
CoffeeScript is not JavaScript. If it's a JavaScript framework, please give code examples in JavaScript.
- sunchild 15y agoCoffeeScript compiles to Javascript. Batman.js can most certainly be a Javascript framework and give examples in CoffeeScript. Many people prefer CoffeeScript for a variety of reasons, including readability. Also, you aren't entitled to dictate instructions to other people who are giving you the benefit of their hard work. It's rude and obnoxious.
- chrisbroadfoot 15y agoYour strawman argument that I'm dictating instructions is rude and obnoxious. Read my post again.
- sunchild 15y agoMea culpa, and I'm truly sorry. I mistook your plea for a demand. Seppuku at dawn?
- mcantor 15y agoMaybe the guy you're replying to edited his post, but "If it's a JavaScript framework, please give code examples in JavaScript"--to me--reads as a rather polite request, rather than a dictum as you suggested.
- pbreit 15y agoBut there are other problems with the comment. There's no mention of CoffeeScript anywhere It's in the 2nd paragraph of the docs. Not prominent, but somewhere. CoffeeScript is not JavaScript Technically true, I suppose, but they are beyond related. If it's a JavaScript framework Maybe it's a CoffeeScript framework? My sense is that at the very least, the use of CoffeeScript is an important aspect of the project.
- Cushman 15y agoExcept for at the top of the example you pasted, and at the top of the documentation page, under "Introduction" in big letters, whe it says "batman.js is a framework for building rich single-page browser applications. It is written in CoffeeScript and its API is developed with CoffeeScript in mind, but of course you can use plain old JavaScript too." Where were you looking?