mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Still prefer therubyracer over mustang
This commit is contained in:
parent
62731c9293
commit
a47882c9ba
4 changed files with 7 additions and 7 deletions
|
@ -7,12 +7,12 @@ returns the result to you as a Ruby object.
|
|||
|
||||
ExecJS supports these runtimes:
|
||||
|
||||
* [Mustang](https://github.com/nu7hatch/mustang) - Mustang V8
|
||||
embedded within Ruby
|
||||
* [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8
|
||||
embedded within MRI Ruby
|
||||
* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
|
||||
Rhino embedded within JRuby
|
||||
* [Mustang](https://github.com/nu7hatch/mustang) - Mustang V8
|
||||
embedded within Ruby
|
||||
* [Node.js](http://nodejs.org/)
|
||||
* Apple JavaScriptCore - Included with Mac OS X
|
||||
* [Mozilla Spidermonkey](http://www.mozilla.org/js/spidermonkey/)
|
||||
|
|
|
@ -6,8 +6,8 @@ module ExecJS
|
|||
class ProgramError < Error; end
|
||||
|
||||
autoload :ExternalRuntime, "execjs/external_runtime"
|
||||
autoload :RubyRacerRuntime, "execjs/ruby_racer_runtime"
|
||||
autoload :MustangRuntime, "execjs/mustang_runtime"
|
||||
autoload :RubyRacerRuntime, "execjs/ruby_racer_runtime"
|
||||
autoload :RubyRhinoRuntime, "execjs/ruby_rhino_runtime"
|
||||
autoload :Runtimes, "execjs/runtimes"
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@ module ExecJS
|
|||
module Runtimes
|
||||
RubyRacer = RubyRacerRuntime.new
|
||||
|
||||
Mustang = MustangRuntime.new
|
||||
|
||||
RubyRhino = RubyRhinoRuntime.new
|
||||
|
||||
Mustang = MustangRuntime.new
|
||||
|
||||
Node = ExternalRuntime.new(
|
||||
:name => "Node.js (V8)",
|
||||
:command => ["nodejs", "node"],
|
||||
|
@ -39,8 +39,8 @@ module ExecJS
|
|||
def self.runtimes
|
||||
@runtimes ||= [
|
||||
RubyRacer,
|
||||
Mustang,
|
||||
RubyRhino,
|
||||
Mustang,
|
||||
Node,
|
||||
JavaScriptCore,
|
||||
Spidermonkey,
|
||||
|
|
|
@ -57,9 +57,9 @@ module TestRuntime
|
|||
end
|
||||
|
||||
runtimes = [
|
||||
"Mustang",
|
||||
"RubyRacer",
|
||||
"RubyRhino",
|
||||
"Mustang",
|
||||
"Node",
|
||||
"JavaScriptCore",
|
||||
"Spidermonkey",
|
||||
|
|
Loading…
Reference in a new issue