File tree 1 file changed +4
-16
lines changed
1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Static types for the jQuery API for [Scala.js](http://www.scala-js.org/) program
10
10
Add the following dependency to your SBT build:
11
11
12
12
``` scala
13
- libraryDependencies += " io.udash" %%% " udash-jquery" % " 3.0.2 "
13
+ libraryDependencies += " io.udash" %%% " udash-jquery" % " 3.0.4 "
14
14
```
15
15
16
16
then import the jQuery package:
@@ -19,21 +19,9 @@ then import the jQuery package:
19
19
import io .udash .wrappers .jquery ._
20
20
```
21
21
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 )
37
25
38
26
39
27
## Examples
You can’t perform that action at this time.
0 commit comments