Skip to content

Commit 4a34e43

Browse files
committed
Moved Scala-to-JS and JSON-scala.util.parsing submodules to Experiments folder
1 parent eeb574a commit 4a34e43

59 files changed

Lines changed: 368 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

JS/build.sbt renamed to Experiments/JS/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ libraryDependencies in ThisBuild <+= scalaVersion("org.scala-lang" % "scala-refl
88

99
libraryDependencies += "com.google.javascript" % "closure-compiler" % "v20130722"
1010

11-
scalaVersion := "2.10.3-RC1"
11+
//scalaVersion := "2.10.3-RC1"

Experiments/JS/example.scal

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
index.html:
2+
3+
<html>
4+
<head>
5+
<script src="index.js"/>
6+
</head>
7+
<body>
8+
<form id="sendForm">
9+
<input name="name" type="text"/>
10+
<button id="sendButton"/>
11+
</form>
12+
</body>
13+
</html>
14+
15+
index.sourceMap:
16+
17+
https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?hl=en_US&pli=1&pli=1
18+
19+
build.sh:
20+
21+
scalac -Xstop-after:typer -cp scala-js.jar *.scala
22+
23+
index.scala:
24+
25+
import js.html5._
26+
27+
object Index extends Page {
28+
val
29+
//document.getElementById("sendButton")
30+
document.sendForm.sendButton.onclick = event => {
31+
32+
}
33+
}
34+
35+
index.js:
36+
37+
//# sourceMappingURL=index.sourceMap
38+
document.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)