got coffeescript compiling in the browser

This commit is contained in:
Jeremy Ashkenas
2010-02-13 15:25:04 -05:00
parent 79bb0da153
commit a90bf75395
15 changed files with 140 additions and 86 deletions

View File

@@ -1,8 +1,13 @@
(function(){
var AccessorNode, ArrayNode, AssignNode, CallNode, ClosureNode, CodeNode, CommentNode, ExistenceNode, Expressions, ExtendsNode, ForNode, IDENTIFIER, IfNode, IndexNode, LiteralNode, Node, ObjectNode, OpNode, ParentheticalNode, PushNode, RangeNode, ReturnNode, SliceNode, SplatNode, TAB, TRAILING_WHITESPACE, ThisNode, ThrowNode, TryNode, ValueNode, WhileNode, _, del, inherit, merge, statement;
var __hasProp = Object.prototype.hasOwnProperty;
process.mixin(require('./scope'));
_ = require('./underscore')._;
if ((typeof process !== "undefined" && process !== null)) {
process.mixin(require('./scope'));
_ = require('./underscore')._;
} else {
this.exports = this;
_ = this._;
}
// Some helper functions
// Tabs are two spaces for pretty printing.
TAB = ' ';