Skip to content

Commit

Permalink
CoffeeScript 0.5.3, with classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Feb 28, 2010
1 parent a356935 commit 62b2ab2
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
14 changes: 12 additions & 2 deletions documentation/index.html.erb
Expand Up @@ -111,7 +111,7 @@ alert reverse '!tpircseeffoC'</textarea></div>

<p>
<b>Latest Version:</b>
<a href="http://github.com/jashkenas/coffee-script/tarball/0.5.2">0.5.2</a>
<a href="http://github.com/jashkenas/coffee-script/tarball/0.5.3">0.5.3</a>
</p>

<h2>
Expand Down Expand Up @@ -156,7 +156,7 @@ alert reverse '!tpircseeffoC'</textarea></div>
<a href="http://nodejs.org/">Node.js</a>, 0.1.30 or higher. Then clone the CoffeeScript
<a href="http://github.com/jashkenas/coffee-script">source repository</a>
from GitHub, or download the latest
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.2">0.5.2</a>.
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.3">0.5.3</a>.
To install the CoffeeScript compiler system-wide
under <tt>/usr/local</tt>, open the directory and run:
</p>
Expand Down Expand Up @@ -794,6 +794,16 @@ coffee --print app/scripts/*.coffee > concatenation.js</pre>
<span id="change_log" class="bookmark"></span>
Change Log
</h2>

<p>
<b class="header" style="margin-top: 20px;">0.5.3</b>
CoffeeScript now has a syntax for defining classes. Many of the core
components (Nodes, Lexer, Rewriter, Scope, Optparse) are using them.
Cakefiles can use <tt>optparse.coffee</tt> to define options for tasks.
<tt>--run</tt> is now the default flag for the <tt>coffee</tt> command,
use <tt>--compile</tt> to save JavaScripts. Bugfix for an ambiguity between
RegExp literals and chained divisions.
</p>

<p>
<b class="header" style="margin-top: 20px;">0.5.2</b>
Expand Down
2 changes: 1 addition & 1 deletion extras/coffee-script.js

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions index.html
Expand Up @@ -97,7 +97,7 @@

<p>
<b>Latest Version:</b>
<a href="http://github.com/jashkenas/coffee-script/tarball/0.5.2">0.5.2</a>
<a href="http://github.com/jashkenas/coffee-script/tarball/0.5.3">0.5.3</a>
</p>

<h2>
Expand Down Expand Up @@ -253,7 +253,7 @@ <h2>
<a href="http://nodejs.org/">Node.js</a>, 0.1.30 or higher. Then clone the CoffeeScript
<a href="http://github.com/jashkenas/coffee-script">source repository</a>
from GitHub, or download the latest
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.2">0.5.2</a>.
release: <a href="http://github.com/jashkenas/coffee-script/tarball/0.5.3">0.5.3</a>.
To install the CoffeeScript compiler system-wide
under <tt>/usr/local</tt>, open the directory and run:
</p>
Expand Down Expand Up @@ -1675,6 +1675,16 @@ <h2>
<span id="change_log" class="bookmark"></span>
Change Log
</h2>

<p>
<b class="header" style="margin-top: 20px;">0.5.3</b>
CoffeeScript now has a syntax for defining classes. Many of the core
components (Nodes, Lexer, Rewriter, Scope, Optparse) are using them.
Cakefiles can use <tt>optparse.coffee</tt> to define options for tasks.
<tt>--run</tt> is now the default flag for the <tt>coffee</tt> command,
use <tt>--compile</tt> to save JavaScripts. Bugfix for an ambiguity between
RegExp literals and chained divisions.
</p>

<p>
<b class="header" style="margin-top: 20px;">0.5.2</b>
Expand Down
2 changes: 1 addition & 1 deletion lib/coffee-script.js
Expand Up @@ -32,7 +32,7 @@
return this.pos;
}
};
exports.VERSION = '0.5.2';
exports.VERSION = '0.5.3';
// Compile CoffeeScript to JavaScript, using the Coffee/Jison compiler.
exports.compile = function compile(code, options) {
return (parser.parse(lexer.tokenize(code))).compile(options);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,5 +3,5 @@
"description": "Unfancy JavaScript",
"keywords": ["javascript", "language"],
"author": "Jeremy Ashkenas",
"version": "0.5.2"
"version": "0.5.3"
}
2 changes: 1 addition & 1 deletion src/coffee-script.coffee
Expand Up @@ -24,7 +24,7 @@ parser.lexer: {
showPosition: -> @pos
}

exports.VERSION: '0.5.2'
exports.VERSION: '0.5.3'

# Compile CoffeeScript to JavaScript, using the Coffee/Jison compiler.
exports.compile: (code, options) ->
Expand Down

0 comments on commit 62b2ab2

Please sign in to comment.