Skip to content

Commit 480d5ab

Browse files
author
starzu
committed
Towards 1.0
1 parent 4aa8b1c commit 480d5ab

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
Static types for the jQuery API for [Scala.js](http://www.scala-js.org/) programs.
44

5+
## Usage
6+
7+
Add the following to your SBT build:
8+
9+
```scala
10+
libraryDependencies += "io.udash" %%% "udash-jquery" % "0.2.0"
11+
```
12+
13+
then import jQuery package:
14+
15+
```scala
16+
import io.udash.wrappers.jquery._
17+
```
18+
519
## Example
620

721
```scala

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name := "udash-jquery"
22

3-
version := "0.2.0"
3+
version := "1.0.0-SNAPSHOT"
44
organization := "io.udash"
55
scalaVersion := "2.11.7"
66
scalacOptions in ThisBuild ++= Seq(
@@ -29,4 +29,4 @@ persistLauncher in Test := false
2929
scalaJSUseRhino in Test := false
3030

3131
lazy val root = project.in(file("."))
32-
.enablePlugins(ScalaJSPlugin)
32+
.enablePlugins(ScalaJSPlugin)

0 commit comments

Comments
 (0)