This repository was archived by the owner on Apr 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-781
lines changed
src/main/scala/scala/scalajs/js Expand file tree Collapse file tree 4 files changed +8
-781
lines changed Original file line number Diff line number Diff line change 1
1
scala-js-d3
2
2
===============
3
+ [ ![ Scala.js] ( http://scala-js.org/assets/badges/scalajs-0.6.5.svg )] ( http://scala-js.org )
4
+ [ ![ Scala.js] ( http://scala-js.org/assets/badges/scalajs-0.6.6.svg )] ( http://scala-js.org )
3
5
4
6
Static types for the d3 API for [ Scala.js] ( http://www.scala-js.org/ ) programs.
5
7
9
11
-----
10
12
Add the following to your sbt build definition:
11
13
12
- libraryDependencies += "org.singlespaced" %%% "scalajs-d3" % "0.2 .0"
14
+ libraryDependencies += "org.singlespaced" %%% "scalajs-d3" % "0.3 .0"
13
15
14
16
Enjoy the types available in ` org.singlespaced.d3js ` :
15
17
```
16
18
package example
17
19
18
20
import scala.scalajs.js
19
21
import org.scalajs.dom
20
- import org.singlespaced.d3js._
22
+ import org.singlespaced.d3js.d3
21
23
import org.singlespaced.d3js.Ops._
22
24
23
25
object ScalaJSExample extends js.JSApp {
@@ -34,6 +36,8 @@ more about [d3js.org](http://d3js.org)
34
36
See also example project [ scala-js-d3-example-app] ( https://github.com/spaced/scala-js-d3-example-app )
35
37
36
38
scalajs-d3 0.2.0 is for Scala.js 0.6.5, with both Scala 2.10 and 2.11.
39
+ scalajs-d3 0.3.0 is for Scala.js 0.6.6+, with both Scala 2.10 and 2.11.
40
+
37
41
38
42
License
39
43
-------
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ jsDependencies += RuntimeDOM
23
23
libraryDependencies += " com.lihaoyi" %%% " utest" % " 0.3.1" % " test"
24
24
testFrameworks += new TestFramework (" utest.runner.Framework" )
25
25
// use phantomjs for tests because d3 lib uses not features not supported by rhino
26
- scalaJSStage in Global := FastOptStage
26
+ scalaJSUseRhino in Global := false
27
27
28
28
homepage := Some (url(" https://github.com/spaced/scala-js-d3" ))
29
29
licenses += (" BSD New" , url(" https://github.com/spaced/scala-js-d3/blob/master/LICENSE" ))
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.5 " )
1
+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 0.6.6 " )
2
2
3
3
addSbtPlugin(" me.lessis" % " bintray-sbt" % " 0.3.0" )
4
4
You can’t perform that action at this time.
0 commit comments