Sha256: e467e8bf05a620407775822e6a5cfff7bcb0a80ddd134ea5a00e5be8a39ccc4e

Contents?: true

Size: 670 Bytes

Versions: 28

Compression:

Stored size: 670 Bytes

Contents

(function(program, execJS) { execJS(program) })(function(global, module, exports, require, console, setTimeout, setInterval, clearTimeout, clearInterval, setImmediate, clearImmediate) { #{source}
}, function(program) {
  var output, print = function(string) {
    process.stdout.write('' + string);
  };
  try {
    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

28 entries across 28 versions & 10 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/execjs-2.5.2/lib/execjs/support/node_runner.js
solidus_backend-1.0.0.pre2 vendor/bundle/gems/execjs-2.5.2/lib/execjs/support/node_runner.js
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/execjs-2.5.2/lib/execjs/support/node_runner.js
solidus_backend-1.0.0.pre vendor/bundle/gems/execjs-2.5.2/lib/execjs/support/node_runner.js
execjs-2.5.2 lib/execjs/support/node_runner.js
execjs-2.5.1 lib/execjs/support/node_runner.js
execjs-2.5.0 lib/execjs/support/node_runner.js
execjs-2.4.0 lib/execjs/support/node_runner.js