|
|
|
|
|
by icandoitbetter
5020 days ago
|
|
Piecemeal compilation: // beginning of file
Coffeescript = require('coffee-script');
// compilation
Coffeescript.compile(line, {bare: true});
e.g. var f = eval(Coffeescript.compile("(x) -> x + 1", {bare: true}));
f(1) // ==> true
|
|