diff --git a/documentation/coffee/block_comment.coffee b/documentation/coffee/block_comment.coffee index dbeb59a0..cb292ca1 100644 --- a/documentation/coffee/block_comment.coffee +++ b/documentation/coffee/block_comment.coffee @@ -1,5 +1,5 @@ ### -CoffeeScript Compiler v1.3.0 +CoffeeScript Compiler v1.3.1 Released under the MIT License ### diff --git a/documentation/docs/coffee-script.html b/documentation/docs/coffee-script.html index 5ce3816f..1802d648 100644 --- a/documentation/docs/coffee-script.html +++ b/documentation/docs/coffee-script.html @@ -13,7 +13,7 @@ execute all scripts present in text/coffeescript tags.

content = compile fs.readFileSync(filename, 'utf8'), {filename} module._compile content, filename else if require.registerExtension - require.registerExtension '.coffee', (content) -> compile content

The current CoffeeScript version number.

exports.VERSION = '1.3.0'

Words that cannot be used as identifiers in CoffeeScript code

exports.RESERVED = RESERVED

Expose helpers for testing.

exports.helpers = require './helpers'

Compile a string of CoffeeScript code to JavaScript, using the Coffee/Jison + require.registerExtension '.coffee', (content) -> compile content

The current CoffeeScript version number.

exports.VERSION = '1.3.1'

Words that cannot be used as identifiers in CoffeeScript code

exports.RESERVED = RESERVED

Expose helpers for testing.

exports.helpers = require './helpers'

Compile a string of CoffeeScript code to JavaScript, using the Coffee/Jison compiler.

exports.compile = compile = (code, options = {}) ->
   {merge} = exports.helpers
   try
diff --git a/documentation/docs/nodes.html b/documentation/docs/nodes.html
index 69533b5b..569acb13 100644
--- a/documentation/docs/nodes.html
+++ b/documentation/docs/nodes.html
@@ -850,7 +850,8 @@ for details.

< if o.level < LEVEL_LIST then code else "(#{code})"

When compiling a conditional assignment, take care to ensure that the operands are only evaluated once, even though we have to reference them more than once.

  compileConditional: (o) ->
-    [left, right] = @variable.cacheReference o

Disallow conditional assignment of undefined variables.

    if left.base instanceof Literal and left.base.value != "this" and not o.scope.check left.base.value
+    [left, right] = @variable.cacheReference o

Disallow conditional assignment of undefined variables.

    if not left.properties.length and left.base instanceof Literal and 
+           left.base.value != "this" and not o.scope.check left.base.value
       throw new Error "the variable \"#{left.base.value}\" can't be assigned with #{@context} because it has not been defined."
     if "?" in @context then o.isExistentialEquals = true
     new Op(@context[...-1], left, new Assign(right, @value, '=') ).compile o

Compile the assignment from an array splice literal, using JavaScript's diff --git a/documentation/index.html.erb b/documentation/index.html.erb index a569477b..17fa1dd1 100644 --- a/documentation/index.html.erb +++ b/documentation/index.html.erb @@ -135,7 +135,7 @@

Latest Version: - 1.3.0 + 1.3.1

@@ -1105,7 +1105,7 @@ Expressions

- 1.3.0 + 1.3.1 April 10, 2012