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.3.6 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.6 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.5 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.5 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.4 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.4 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.3 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.3 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.2 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.2 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.1 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.1 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
classiccms-0.3.0 vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.3.0 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.2.4.pre vendor/bundle/gems/execjs-1.3.2/lib/execjs/support/node_runner.js
classiccms-0.2.4.pre vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js
execjs-1.3.2 lib/execjs/support/node_runner.js
execjs-1.3.1 lib/execjs/support/node_runner.js
classicCMS-0.2.3 vendor/bundle/gems/execjs-1.3.0/lib/execjs/support/node_runner.js