1
0
Fork 0
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:
Joshua Peek 2011-04-12 11:28:17 -05:00
parent 62731c9293
commit a47882c9ba
4 changed files with 7 additions and 7 deletions

View file

@ -7,12 +7,12 @@ returns the result to you as a Ruby object.
ExecJS supports these runtimes: ExecJS supports these runtimes:
* [Mustang](https://github.com/nu7hatch/mustang) - Mustang V8
embedded within Ruby
* [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8 * [therubyracer](https://github.com/cowboyd/therubyracer) - Google V8
embedded within MRI Ruby embedded within MRI Ruby
* [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla * [therubyrhino](https://github.com/cowboyd/therubyrhino) - Mozilla
Rhino embedded within JRuby Rhino embedded within JRuby
* [Mustang](https://github.com/nu7hatch/mustang) - Mustang V8
embedded within Ruby
* [Node.js](http://nodejs.org/) * [Node.js](http://nodejs.org/)
* Apple JavaScriptCore - Included with Mac OS X * Apple JavaScriptCore - Included with Mac OS X
* [Mozilla Spidermonkey](http://www.mozilla.org/js/spidermonkey/) * [Mozilla Spidermonkey](http://www.mozilla.org/js/spidermonkey/)

View file

@ -6,8 +6,8 @@ module ExecJS
class ProgramError < Error; end class ProgramError < Error; end
autoload :ExternalRuntime, "execjs/external_runtime" autoload :ExternalRuntime, "execjs/external_runtime"
autoload :RubyRacerRuntime, "execjs/ruby_racer_runtime"
autoload :MustangRuntime, "execjs/mustang_runtime" autoload :MustangRuntime, "execjs/mustang_runtime"
autoload :RubyRacerRuntime, "execjs/ruby_racer_runtime"
autoload :RubyRhinoRuntime, "execjs/ruby_rhino_runtime" autoload :RubyRhinoRuntime, "execjs/ruby_rhino_runtime"
autoload :Runtimes, "execjs/runtimes" autoload :Runtimes, "execjs/runtimes"

View file

@ -2,10 +2,10 @@ module ExecJS
module Runtimes module Runtimes
RubyRacer = RubyRacerRuntime.new RubyRacer = RubyRacerRuntime.new
Mustang = MustangRuntime.new
RubyRhino = RubyRhinoRuntime.new RubyRhino = RubyRhinoRuntime.new
Mustang = MustangRuntime.new
Node = ExternalRuntime.new( Node = ExternalRuntime.new(
:name => "Node.js (V8)", :name => "Node.js (V8)",
:command => ["nodejs", "node"], :command => ["nodejs", "node"],
@ -39,8 +39,8 @@ module ExecJS
def self.runtimes def self.runtimes
@runtimes ||= [ @runtimes ||= [
RubyRacer, RubyRacer,
Mustang,
RubyRhino, RubyRhino,
Mustang,
Node, Node,
JavaScriptCore, JavaScriptCore,
Spidermonkey, Spidermonkey,

View file

@ -57,9 +57,9 @@ module TestRuntime
end end
runtimes = [ runtimes = [
"Mustang",
"RubyRacer", "RubyRacer",
"RubyRhino", "RubyRhino",
"Mustang",
"Node", "Node",
"JavaScriptCore", "JavaScriptCore",
"Spidermonkey", "Spidermonkey",