Sha256: c410c0b3337a9a067f23f74ad7197b85481e93757f1c117b74dcec7e68da34ca

Contents?: true

Size: 452 Bytes

Versions: 179

Compression:

Stored size: 452 Bytes

Contents

(function(program, execJS) { execJS(program) })(function() {
  return eval(#{encoded_source});
}, function(program) {
  var output;
  try {
    result = program();
    if (typeof result == 'undefined' && result !== null) {
      print('["ok"]');
    } else {
      try {
        print(JSON.stringify(['ok', result]));
      } catch (err) {
        print('["err"]');
      }
    }
  } catch (err) {
    print(JSON.stringify(['err', '' + err]));
  }
});

Version data entries

179 entries across 88 versions & 7 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/jsc_runner.js
classiccms-0.7.5 vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.5 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.4 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.4 vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.4 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/jsc_runner.js
classiccms-0.7.3 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.3 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/jsc_runner.js
classiccms-0.7.3 vendor/bundle/gems/execjs-1.4.0/lib/execjs/support/jsc_runner.js
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/support/jsc_runner.js
execjs-1.4.1 lib/execjs/support/jsc_runner.js
execjs-2.1.0 lib/execjs/support/jsc_runner.js
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs/support/jsc_runner.js
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jsc_runner.js
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/execjs-2.0.2/lib/execjs/support/jsc_runner.js
execjs-2.0.2 lib/execjs/support/jsc_runner.js
execjs-2.0.1 lib/execjs/support/jsc_runner.js
execjs-2.0.0 lib/execjs/support/jsc_runner.js
classiccms-0.7.2 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/jsc_runner.js
classiccms-0.7.2 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/jsc_runner.js