Sha256: 8dce2855259fd605be18bf45c2c49f922e9ee8fe43a36d8b73eb15e112a92842

Contents?: true

Size: 523 Bytes

Versions: 115

Compression:

Stored size: 523 Bytes

Contents

(function(program, execJS) { execJS(program) })(function(module, exports, require) { #{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('["err"]');
      }
    }
  } catch (err) {
    print(JSON.stringify(['err', '' + err]));
  }
});

Version data entries

115 entries across 69 versions & 5 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.7.5 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.4 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.7.4 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.3 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.7.3 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.2 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.2 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.7.1 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.1 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.7.0 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.7.0 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.6.9 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.6.9 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.6.8 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.6.8 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.6.7 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.6.7 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.6.6 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.6.6 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js