Is there any way to use CoffeeScript in client side?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are two ways:
coffee-script.js, which allows you to put<script type="text/coffeescript>tags in your page.The latter isn’t recommended for production use, but it’s nice for development. Or for usage in online editors like these:
See the related question: Is there a way to send CoffeeScript to the client's browser and have it compiled to JavaScript *there*?