Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Commit

Permalink
Prepare for 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spaced committed Feb 1, 2016
1 parent b229070 commit b387066
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 781 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
scala-js-d3
===============
[![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.5.svg)](http://scala-js.org)
[![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.6.svg)](http://scala-js.org)

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

Expand All @@ -9,15 +11,15 @@ Usage
-----
Add the following to your sbt build definition:

libraryDependencies += "org.singlespaced" %%% "scalajs-d3" % "0.2.0"
libraryDependencies += "org.singlespaced" %%% "scalajs-d3" % "0.3.0"

Enjoy the types available in `org.singlespaced.d3js`:
```
package example
import scala.scalajs.js
import org.scalajs.dom
import org.singlespaced.d3js._
import org.singlespaced.d3js.d3
import org.singlespaced.d3js.Ops._
object ScalaJSExample extends js.JSApp {
Expand All @@ -34,6 +36,8 @@ more about [d3js.org](http://d3js.org)
See also example project [scala-js-d3-example-app](https://github.com/spaced/scala-js-d3-example-app)

scalajs-d3 0.2.0 is for Scala.js 0.6.5, with both Scala 2.10 and 2.11.
scalajs-d3 0.3.0 is for Scala.js 0.6.6+, with both Scala 2.10 and 2.11.


License
-------
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jsDependencies += RuntimeDOM
libraryDependencies += "com.lihaoyi" %%% "utest" % "0.3.1" % "test"
testFrameworks += new TestFramework("utest.runner.Framework")
// use phantomjs for tests because d3 lib uses not features not supported by rhino
scalaJSStage in Global := FastOptStage
scalaJSUseRhino in Global := false

homepage := Some(url("https://github.com/spaced/scala-js-d3"))
licenses += ("BSD New", url("https://github.com/spaced/scala-js-d3/blob/master/LICENSE"))
Expand Down
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.6")

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")

Expand Down
Loading

0 comments on commit b387066

Please sign in to comment.