From a90bf75395f38b36c684c92b97c60e5e15650e15 Mon Sep 17 00:00:00 2001
From: Jeremy Ashkenas
Date: Sat, 13 Feb 2010 15:25:04 -0500
Subject: [PATCH] got coffeescript compiling in the browser
---
documentation/index.html.erb | 16 +++--
documentation/js/existence.js | 2 +-
documentation/js/fat_arrow.js | 4 +-
documentation/js/super.js | 26 ++++-----
index.html | 93 +++++++++++++++++-------------
lib/coffee_script/coffee-script.js | 23 +++++---
lib/coffee_script/lexer.js | 7 ++-
lib/coffee_script/nodes.js | 9 ++-
lib/coffee_script/rewriter.js | 3 +
lib/coffee_script/scope.js | 3 +
src/coffee-script.coffee | 22 ++++---
src/lexer.coffee | 6 +-
src/nodes.coffee | 8 ++-
src/rewriter.coffee | 2 +
src/scope.coffee | 2 +
15 files changed, 140 insertions(+), 86 deletions(-)
diff --git a/documentation/index.html.erb b/documentation/index.html.erb
index 72078981..1d339828 100644
--- a/documentation/index.html.erb
+++ b/documentation/index.html.erb
@@ -485,7 +485,7 @@ coffee --print app/scripts/*.coffee > concatenation.js
and return. If you make use of them within a block of code,
CoffeeScript won't try to perform the conversion.
-
+
It's a little difficult to check for the existence of a variable in
@@ -509,8 +509,8 @@ coffee --print app/scripts/*.coffee > concatenation.js
<%= code_for('soaks') %>
- Soaking up nulls is similar to Ruby's
- andand gem, and to the
+ Soaking up nulls is similar to Ruby's
+ andand gem, and to the
safe navigation operator
in Groovy.
@@ -668,7 +668,7 @@ coffee --print app/scripts/*.coffee > concatenation.js
Change Log
-
+
@property is now a shorthand for this.property.
@@ -824,5 +824,13 @@ coffee --print app/scripts/*.coffee > concatenation.js
+
+
+
+
+
+
+
+