Permalink
Browse files

Added note about inline CoffeeScript

  • Loading branch information...
1 parent 8c38d00 commit b1496d2e1408c9de00e81aa5fe3b32c4194cfb90 @jnicklas committed Jan 3, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.rdoc
View
9 README.rdoc
@@ -50,6 +50,15 @@ You can make BistroCar minify your JavaScript bundles using JSMin by setting:
This is done automatically for the production environment.
+== Inline CoffeeScript
+
+You can also render CoffeeScript inline from within your erb templates like this:
+
+ <% coffee_script do %>
+ x: x => x * 2
+ y: y => y + 2
+ <% end %>
+
== License:
(The MIT License)

0 comments on commit b1496d2

Please sign in to comment.