Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Still prefer therubyracer over mustang
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Apr 12, 2011
1 parent 62731c9 commit a47882c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion lib/execjs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class RuntimeError < Error; end
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"

Expand Down
6 changes: 3 additions & 3 deletions lib/execjs/runtimes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down Expand Up @@ -39,8 +39,8 @@ def self.best_available
def self.runtimes
@runtimes ||= [
RubyRacer,
Mustang,
RubyRhino,
Mustang,
Node,
JavaScriptCore,
Spidermonkey,
Expand Down
2 changes: 1 addition & 1 deletion test/test_runtimes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ def test_thrown_exception
end

runtimes = [
"Mustang",
"RubyRacer",
"RubyRhino",
"Mustang",
"Node",
"JavaScriptCore",
"Spidermonkey",
Expand Down

0 comments on commit a47882c

Please sign in to comment.