Sha256: 262d82cbe70464ef6311c4e70e22f30078773f31a15796a1879800eee1659f9f
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
(function(program, execJS) { execJS(program) })(function() { #{source} }, function(program) { var output; try { delete this.console; result = program(); if (typeof result == 'undefined' && result !== null) { print('["ok"]'); } else { try { print(JSON.stringify(['ok', result])); } catch (err) { print(JSON.stringify(['err', '' + err, err.stack])); } } } catch (err) { print(JSON.stringify(['err', '' + err, err.stack])); } });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
execjs-2.8.1 | lib/execjs/support/jsc_runner.js |
execjs-2.8.0 | lib/execjs/support/jsc_runner.js |