1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

We no longer need to wrap in quotes JavaScript reserved words used as properties (#4527)

This commit is contained in:
Geoffrey Booth 2017-04-24 09:23:42 -07:00 committed by GitHub
parent 5651b8b14b
commit 7e35c2c3da
9 changed files with 41 additions and 54 deletions

View file

@ -167,7 +167,7 @@
return mainModule._compile(code, mainModule.filename);
};
exports["eval"] = function(code, options = {}) {
exports.eval = function(code, options = {}) {
var Module, _module, _require, createContext, i, isContext, js, k, len, o, r, ref, ref1, ref2, ref3, sandbox, v;
if (!(code = code.trim())) {
return;