mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
docs
This commit is contained in:
parent
3c67d54bbe
commit
2a1fc4b1b7
2 changed files with 22 additions and 4 deletions
|
@ -70,10 +70,11 @@
|
|||
<a href="#switch">Switch/When/Else</a><br />
|
||||
<a href="#try">Try/Catch/Finally</a><br />
|
||||
<a href="#strings">Multiline Strings</a><br />
|
||||
<a href="#resources">Resources</a><br />
|
||||
<a href="#contributing">Contributing</a><br />
|
||||
<a href="#change_log">Change Log</a><br />
|
||||
</p>
|
||||
|
||||
|
||||
<h2 id="overview">Mini Overview</h2>
|
||||
|
||||
<p><i>CoffeeScript on the left, compiled JavaScript output on the right.</i></p>
|
||||
|
@ -418,6 +419,13 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
|
|||
Multiline strings are allowed in CoffeeScript.
|
||||
</p>
|
||||
<%= code_for('strings', 'moby_dick') %>
|
||||
|
||||
<h2 id="resources">Resources</h2>
|
||||
|
||||
<p>
|
||||
<a href="http://github.com/jashkenas/coffee-script/">Source Code</a><br />
|
||||
<a href="http://github.com/jashkenas/coffee-script/issues">Bugs and Feature Requests</a><br />
|
||||
</p>
|
||||
|
||||
<h2 id="contributing">Contributing</h2>
|
||||
|
||||
|
@ -433,7 +441,8 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
|
|||
</li>
|
||||
<li>
|
||||
Ideas for alternate syntax to end blocks of expressions — the periods
|
||||
can look a little weird with deeply nested structure.
|
||||
can look a little weird with deeply nested structure. (There's now a
|
||||
'whitespace' branch — help add significant whitespace over there.)
|
||||
</li>
|
||||
<li>
|
||||
Test cases for any syntax errors you encounter that you think CoffeeScript
|
||||
|
|
13
index.html
13
index.html
|
@ -56,10 +56,11 @@
|
|||
<a href="#switch">Switch/When/Else</a><br />
|
||||
<a href="#try">Try/Catch/Finally</a><br />
|
||||
<a href="#strings">Multiline Strings</a><br />
|
||||
<a href="#resources">Resources</a><br />
|
||||
<a href="#contributing">Contributing</a><br />
|
||||
<a href="#change_log">Change Log</a><br />
|
||||
</p>
|
||||
|
||||
|
||||
<h2 id="overview">Mini Overview</h2>
|
||||
|
||||
<p><i>CoffeeScript on the left, compiled JavaScript output on the right.</i></p>
|
||||
|
@ -846,6 +847,13 @@ to interest me on shore, I thought I would sail \
|
|||
about a little and see the watery part of the \
|
||||
world...";
|
||||
;alert(moby_dick);'>run: moby_dick</button><br class='clear' /></div>
|
||||
|
||||
<h2 id="resources">Resources</h2>
|
||||
|
||||
<p>
|
||||
<a href="http://github.com/jashkenas/coffee-script/">Source Code</a><br />
|
||||
<a href="http://github.com/jashkenas/coffee-script/issues">Bugs and Feature Requests</a><br />
|
||||
</p>
|
||||
|
||||
<h2 id="contributing">Contributing</h2>
|
||||
|
||||
|
@ -861,7 +869,8 @@ world...";
|
|||
</li>
|
||||
<li>
|
||||
Ideas for alternate syntax to end blocks of expressions — the periods
|
||||
can look a little weird with deeply nested structure.
|
||||
can look a little weird with deeply nested structure. (There's now a
|
||||
'whitespace' branch — help add significant whitespace over there.)
|
||||
</li>
|
||||
<li>
|
||||
Test cases for any syntax errors you encounter that you think CoffeeScript
|
||||
|
|
Loading…
Add table
Reference in a new issue