Sha256: 4dc4f7ea85b3391efc661379547e5bd5b223a0d38f4af3200db4b30d5f05779a

Contents?: true

Size: 623 Bytes

Versions: 35

Compression:

Stored size: 623 Bytes

Contents

(function(program, execJS) { execJS(program) })(function() {
  return eval(#{encode_source(source)});
}, function(program) {
  #{json2_source}
  var output, print = function(string) {
    WScript.Echo(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.name + ': ' + err.message, err.stack]));
      }
    }
  } catch (err) {
    print(JSON.stringify(['err', err.name + ': ' + err.message, err.stack]));
  }
});

Version data entries

35 entries across 35 versions & 12 rubygems

Version Path
execjs-2.10.0 lib/execjs/support/jscript_runner.js
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/execjs-2.9.1/lib/execjs/support/jscript_runner.js
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/execjs-2.9.1/lib/execjs/support/jscript_runner.js
execjs-2.9.1 lib/execjs/support/jscript_runner.js
execjs-2.9.0 lib/execjs/support/jscript_runner.js
execjs-2.8.1 lib/execjs/support/jscript_runner.js
execjs-2.8.0 lib/execjs/support/jscript_runner.js
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js
arcabouco-0.2.13 vendor/bundle/gems/execjs-2.7.0/lib/execjs/support/jscript_runner.js