1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

fixing string interpolation docco.

This commit is contained in:
Jeremy Ashkenas 2010-08-12 00:00:28 -04:00
parent fd6e9a1e66
commit 083500fc0e

View file

@ -752,9 +752,8 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
<p>
<span id="interpolation" class="bookmark"></span>
<b class="header">String and RegExp Interpolation</b>
A version of <a href="http://wiki.ecmascript.org/doku.php?id=strawman:string_interpolation">ECMAScript Harmony's proposed string interpolation</a>
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.
</p>
<%= code_for('interpolation', 'quote') %>
<p>