Bunto::Coffeescript
A CoffeeScript converter for Bunto.
Installation
Add this line to your application's Gemfile:
gem 'bunto-coffeescript'And then execute:
$ bundleOr install it yourself as:
$ gem install bunto-coffeescriptNotes: bunto-coffeescript requires Ruby 1.9.3 or greater. Additionally, the dependency on execjs means you must also have a valid JavaScript runtime available to your project
Usage
In your Bunto site, create CoffeeScript files that start with the following lines:
---
---
You need those three dashes in order for Bunto to recognize it as "convertible". They won't be included in the content passed to the CoffeeScript compiler.
Contributing
- Fork it (
http://github.com/bunto/bunto-coffeescript/fork) - Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am "Add some feature") - Push to the branch (
git push origin my-new-feature) - Create new Pull Request