mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 03:21:20 -05:00
upgrading the test harness
This commit is contained in:
@@ -9,15 +9,13 @@
|
||||
// as well as the Expressions body where it should declare its variables,
|
||||
// and the function that it wraps.
|
||||
Scope = (exports.Scope = function Scope(parent, expressions, method) {
|
||||
var __a;
|
||||
this.parent = parent;
|
||||
this.expressions = expressions;
|
||||
this.method = method;
|
||||
this.variables = {
|
||||
};
|
||||
this.temp_variable = this.parent ? this.parent.temp_variable : '__a';
|
||||
__a = this;
|
||||
return Scope === this.constructor ? this : __a;
|
||||
return this;
|
||||
});
|
||||
// Look up a variable in lexical scope, or declare it if not found.
|
||||
Scope.prototype.find = function find(name, remote) {
|
||||
|
||||
Reference in New Issue
Block a user