From cdb4db478023ab0c4b16ddafadf3ad1ca31e9583 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 7 Feb 2011 10:11:04 -0600 Subject: [PATCH] Bump Rhino precedence --- lib/execjs/runtimes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/execjs/runtimes.rb b/lib/execjs/runtimes.rb index 3c80065..e7a8e33 100644 --- a/lib/execjs/runtimes.rb +++ b/lib/execjs/runtimes.rb @@ -21,6 +21,9 @@ module ExecJS define_runtime :V8, :as => V8Runtime + define_runtime :Rhino, + :as => RhinoRuntime + define_runtime :ExternalV8, :command => "v8", :test_args => "--help", @@ -38,8 +41,5 @@ module ExecJS define_runtime :Spidermonkey, :command => "js", :runner_path => runner_path("basic.js") - - define_runtime :Rhino, - :as => RhinoRuntime end end