Skip to content

Don't use deprecated 'RhinoJSEnv' class in the build #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 11, 2018

Conversation

gslowikowski
Copy link
Member

As the warning says, it's deprecated since scala-js 0.6.13:

warning: method RhinoJSEnv in object AutoImport is deprecated (since 0.6.13): The Rhino JS environment is being phased out. It will be removed in Scala.js 1.0.0.
      inConfig(Test)(jsEnv := RhinoJSEnv().value)
                              ^

Check this commit in scala-js project.

As warning says, it's deprecated since scala-js '0.6.13':

warning: method RhinoJSEnv in object AutoImport is deprecated (since 0.6.13): The Rhino JS environment is being phased out. It will be removed in Scala.js 1.0.0.
      inConfig(Test)(jsEnv := RhinoJSEnv().value)
                              ^
@gslowikowski gslowikowski merged commit 3954241 into master Nov 11, 2018
@gslowikowski gslowikowski deleted the dont-use-deprecated-rhinojsenv-class branch November 12, 2018 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant