Permalink
Browse files

Deprecate SpiderMonkey runtime

  • Loading branch information...
1 parent 304a225 commit 71fe9e8fa845ec1fad060b810fab066b5ebf0d2e @josh josh committed May 20, 2012
Showing with 2 additions and 2 deletions.
  1. +0 −1 README.md
  2. +2 −1 lib/execjs/runtimes.rb
View
1 README.md
@@ -17,7 +17,6 @@ ExecJS supports these runtimes:
embedded within Ruby
* [Node.js](http://nodejs.org/)
* Apple JavaScriptCore - Included with Mac OS X
-* [Mozilla SpiderMonkey](http://www.mozilla.org/js/spidermonkey/)
* [Microsoft Windows Script Host](http://msdn.microsoft.com/en-us/library/9bbdkx3k.aspx) (JScript)
A short example:
View
3 lib/execjs/runtimes.rb
@@ -34,7 +34,8 @@ module Runtimes
SpiderMonkey = Spidermonkey = ExternalRuntime.new(
:name => "SpiderMonkey",
:command => "js",
- :runner_path => ExecJS.root + "/support/spidermonkey_runner.js"
+ :runner_path => ExecJS.root + "/support/spidermonkey_runner.js",
+ :deprecated => true
)
JScript = ExternalRuntime.new(

0 comments on commit 71fe9e8

Please sign in to comment.