Permalink
Browse files

CoffeeScript 0.9.5

  • Loading branch information...
1 parent fc64fa4 commit e5deb2b3c33ac356146a26f2f19b3e8f9e3bb328 @jashkenas jashkenas committed Nov 22, 2010
Showing with 9 additions and 9 deletions.
  1. +1 −1 documentation/docs/lexer.html
  2. +1 −1 documentation/docs/nodes.html
  3. +3 −3 documentation/index.html.erb
  4. +1 −1 extras/coffee-script.js
  5. +3 −3 index.html
@@ -420,7 +420,7 @@
<span class="o">|</span> <span class="p">([</span><span class="o">-+:</span><span class="p">])</span><span class="err">\</span><span class="mi">1</span> <span class="c1"># doubles</span>
<span class="o">|</span> <span class="p">([</span><span class="o">&amp;|&lt;&gt;</span><span class="p">])</span><span class="err">\</span><span class="mi">2</span><span class="o">=?</span> <span class="c1"># logic / shift</span>
<span class="o">|</span> <span class="err">\</span><span class="o">?</span><span class="err">\</span><span class="p">.</span> <span class="c1"># soak access</span>
- <span class="o">|</span> <span class="err">\</span><span class="p">.{</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">}</span> <span class="c1"># range or splat</span>
+ <span class="o">|</span> <span class="err">\</span><span class="p">.{</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">}</span> <span class="c1"># range or splat</span>
<span class="p">)</span> <span class="o">/</span><span class="err">//</span>
<span class="nv">WHITESPACE = </span><span class="sr">/^[^\n\S]+/</span>
@@ -752,7 +752,7 @@
<span class="k">if</span> <span class="nx">param</span><span class="p">.</span><span class="nx">value</span>
<span class="nv">lit = </span><span class="k">new</span> <span class="nx">Literal</span> <span class="nx">ref</span><span class="p">.</span><span class="nx">name</span><span class="p">.</span><span class="nx">value</span> <span class="o">+</span> <span class="s1">&#39; == null&#39;</span>
<span class="nv">val = </span><span class="k">new</span> <span class="nx">Assign</span> <span class="k">new</span> <span class="nx">Value</span><span class="p">(</span><span class="nx">param</span><span class="p">.</span><span class="nx">name</span><span class="p">),</span> <span class="nx">param</span><span class="p">.</span><span class="nx">value</span><span class="p">,</span> <span class="s1">&#39;=&#39;</span>
- <span class="nx">exprs</span><span class="p">.</span><span class="nx">push</span> <span class="k">new</span> <span class="nx">Op</span> <span class="s1">&#39;&amp;&amp;&#39;</span><span class="p">,</span> <span class="nx">lit</span><span class="p">,</span> <span class="nx">val</span>
+ <span class="nx">exprs</span><span class="p">.</span><span class="nx">push</span> <span class="k">new</span> <span class="nx">If</span> <span class="nx">lit</span><span class="p">,</span> <span class="nx">val</span>
<span class="nx">vars</span><span class="p">.</span><span class="nx">push</span> <span class="nx">ref</span> <span class="nx">unless</span> <span class="nx">splats</span>
<span class="nx">scope</span><span class="p">.</span><span class="nx">startLevel</span><span class="p">()</span>
<span class="nv">wasEmpty = </span><span class="nx">@body</span><span class="p">.</span><span class="nx">isEmpty</span><span class="p">()</span>
@@ -1016,9 +1016,9 @@ coffee --bare --print --stdio</pre>
many contributed from <b>satyr</b>'s <a href="http://github.com/satyr/coco">Coco</a>
dialect of CoffeeScript. Heregexes (extended regexes) were added. Functions
can now have default arguments. Class bodies are now executable code.
- Improved syntax errors for invalid CoffeeScript code. <tt>undefined</tt> now
- works like <tt>null</tt>, and cannot be assigned a new value. Object literals
- can now take dynamic keys, like this: <tt>{(key): value}</tt>
+ Improved syntax errors for invalid CoffeeScript. Object literals
+ can now take dynamic keys, like this: <tt>{(key): value}</tt>. <tt>undefined</tt> now
+ works like <tt>null</tt>, and cannot be assigned a new value.
</p>
<p>
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1884,9 +1884,9 @@
many contributed from <b>satyr</b>'s <a href="http://github.com/satyr/coco">Coco</a>
dialect of CoffeeScript. Heregexes (extended regexes) were added. Functions
can now have default arguments. Class bodies are now executable code.
- Improved syntax errors for invalid CoffeeScript code. <tt>undefined</tt> now
- works like <tt>null</tt>, and cannot be assigned a new value. Object literals
- can now take dynamic keys, like this: <tt>{(key): value}</tt>
+ Improved syntax errors for invalid CoffeeScript. Object literals
+ can now take dynamic keys, like this: <tt>{(key): value}</tt>. <tt>undefined</tt> now
+ works like <tt>null</tt>, and cannot be assigned a new value.
</p>
<p>

0 comments on commit e5deb2b

Please sign in to comment.