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

added 1.9.2 changelog

This commit is contained in:
Andreas Lubbe 2015-04-15 17:26:06 +02:00
parent 3a2888f97a
commit cc4c3b2606

View file

@ -821,9 +821,9 @@ Expressions
constructed.
</p>
<p>
CoffeeScript functions also support
CoffeeScript functions also support
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*">ES6 generator functions</a>
through the <tt>yield</tt> keyword. There's no <tt>function*(){}</tt>
through the <tt>yield</tt> keyword. There's no <tt>function*(){}</tt>
nonsense &mdash; a generator in CoffeeScript is simply a function that yields.
</p>
<%= codeFor('generators', 'ps.next().value') %>
@ -1203,11 +1203,37 @@ Expressions
Change Log
</h2>
<p>
<%= releaseHeader('2015-04-15', '1.9.2', '1.9.1') %>
<ul>
<li>
Fixed the watch mode error
<tt>The two following source files have the same output file</tt>.
</li>
<li>
<tt>yield</tt> now behaves as expected around expressions containing
<tt>this</tt>.
</li>
<li>
Added a Ruby-style <tt>-r</tt> option to the cli, which allows
requiring a module before execution with <tt>--eval</tt> or
<tt>--interactive</tt>.
</li>
<li>
To avoid dublicate browser requests for .coffee files, you can now
use script tags with the <tt>data-src</tt> attribute.
</li>
<li>
Minor bug fixes for IE8, strict ES5 regexp and browserify support.
</li>
</ul>
</p>
<p>
<%= releaseHeader('2015-02-18', '1.9.1', '1.9.0') %>
<ul>
<li>
Interpolation now works in object literal keys (again). You can use this to
Interpolation now works in object literal keys (again). You can use this to
dynamically name properties.
</li>
<li>
@ -1231,10 +1257,10 @@ Expressions
<ul>
<li>
CoffeeScript now supports ES6 generators. A generator is simply a function
that <tt>yield</tt>s.
that <tt>yield</tt>s.
</li>
<li>
More robust parsing and improved error messages for strings and regexes
More robust parsing and improved error messages for strings and regexes
especially with respect to interpolation.
</li>
<li>