Skip to content

Commit 0c61ec2

Browse files
committed
Docs update
1 parent 1dc8d7e commit 0c61ec2

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Static types for the jQuery API for [Scala.js](http://www.scala-js.org/) program
1010
Add the following dependency to your SBT build:
1111

1212
```scala
13-
libraryDependencies += "io.udash" %%% "udash-jquery" % "3.0.2"
13+
libraryDependencies += "io.udash" %%% "udash-jquery" % "3.0.4"
1414
```
1515

1616
then import the jQuery package:
@@ -19,21 +19,9 @@ then import the jQuery package:
1919
import io.udash.wrappers.jquery._
2020
```
2121

22-
Since version `3.0.0` the wrapper is published as a CommonJS module with JS dependencies managed
23-
by [scalajs-bundler](https://github.com/scalacenter/scalajs-bundler).
24-
25-
If you do not want to use the bundler, you have to include jQuery sources manually by:
26-
* explicit link in your `index.html`.
27-
```html
28-
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
29-
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
30-
crossorigin="anonymous"></script>
31-
```
32-
* or a [Scala.js dependency](http://www.scala-js.org/doc/project/dependencies.html).
33-
```scala
34-
jsDependencies +=
35-
"org.webjars" % "jquery" % "3.3.1" / "3.3.1/jquery.js" minified "3.3.1/jquery.min.js"
36-
```
22+
Since version `3.0.4` the wrapper targets SJS 1.x series and supports JS dependencies managed by
23+
by [scalajs-bundler](https://github.com/scalacenter/scalajs-bundler) or [sbt-jsdependencies
24+
](https://github.com/scala-js/jsdependencies)
3725

3826

3927
## Examples

0 commit comments

Comments
 (0)