1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Deprecate SpiderMonkey runtime

This commit is contained in:
Joshua Peek 2012-05-20 14:26:25 -05:00
parent 304a225058
commit 71fe9e8fa8
2 changed files with 2 additions and 2 deletions

View file

@ -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 file

@ -34,7 +34,8 @@ module ExecJS
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(