From 083500fc0e03f411ec5f67833e937ce135ca796d Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Thu, 12 Aug 2010 00:00:28 -0400 Subject: [PATCH] fixing string interpolation docco. --- documentation/index.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/documentation/index.html.erb b/documentation/index.html.erb index 63b04f36..d72a5ba5 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -752,9 +752,8 @@ coffee --print app/scripts/*.coffee > concatenation.js

String and RegExp Interpolation - A version of ECMAScript Harmony's proposed string interpolation - is included in CoffeeScript. Simple variables can be included by prefixing - them with a hash mark. + Ruby-style string interpolation is included in CoffeeScript. Double-quoted + strings allow for interpolated values, while single-quoted strings are literal.

<%= code_for('interpolation', 'quote') %>