Skip to content

Commit 94921d4

Browse files
authored
Merge pull request #48 from sjrd/update-readme-for-1.1.0
Update the readme for version 1.1.0.
2 parents 0636ad0 + 9f15bb2 commit 94921d4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`scalajs-env-jsdom-nodejs` is a JavaScript environment for Scala.js (a `JSEnv`)
44
running [Node.js](https://nodejs.org/) with
5-
[jsdom](https://github.com/tmpvar/jsdom).
5+
[jsdom](https://github.com/jsdom/jsdom).
66

77
This repository contains `scalajs-env-jsdom-nodejs` for Scala.js 1.x. In
88
Scala.js 0.6.x, the Node.js with jsdom environment is part of the core
@@ -13,7 +13,7 @@ distribution.
1313
Add the following line to `project/plugins.sbt`:
1414

1515
```scala
16-
libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.0.0"
16+
libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.1.0"
1717
```
1818

1919
and the following line to `build.sbt` (possibly in the `settings`/`jsSettings` of Scala.js projects):
@@ -22,4 +22,11 @@ and the following line to `build.sbt` (possibly in the `settings`/`jsSettings` o
2222
jsEnv := new org.scalajs.jsenv.jsdomnodejs.JSDOMNodeJSEnv()
2323
```
2424

25+
Finally, make sure that [jsdom](https://github.com/jsdom/jsdom) 10.0.0 or later is avilable in your project.
26+
You can install it with
27+
28+
```bash
29+
$ npm install jsdom
30+
```
31+
2532
See [the Scaladoc](https://javadoc.io/doc/org.scala-js/scalajs-env-jsdom-nodejs_2.13/latest/org/scalajs/jsenv/jsdomnodejs/index.html) for other configuration options.

0 commit comments

Comments
 (0)