mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
forgot to build 11544f2717
This commit is contained in:
parent
7aaaac42bc
commit
fbe84e376c
1 changed files with 3 additions and 1 deletions
|
@ -5,8 +5,10 @@
|
|||
|
||||
CoffeeScript.require = require;
|
||||
|
||||
if (typeof global === "undefined" || global === null) global = this;
|
||||
|
||||
CoffeeScript.eval = function(code, options) {
|
||||
return eval(CoffeeScript.compile(code, options));
|
||||
return global.eval(CoffeeScript.compile(code, options));
|
||||
};
|
||||
|
||||
CoffeeScript.run = function(code, options) {
|
||||
|
|
Loading…
Reference in a new issue