Skip to content

Commit 56f8d5f

Browse files
author
Li Haoyi
committed
scalatex 0.2.0
1 parent d28b92d commit 56f8d5f

File tree

2 files changed

+50
-50
lines changed

2 files changed

+50
-50
lines changed

project/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.0")
22

3-
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.1.6")
3+
addSbtPlugin("com.lihaoyi" % "scalatex-sbt-plugin" % "0.2.0")

scalatex/Index.scalatex renamed to readme/Index.scalatex

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -81,63 +81,63 @@
8181
@p
8282
Here are some examples to get you started:
8383

84-
@sect{Node.appendChild}
85-
@pair(
86-
"NodeAppendChild",
87-
Seq(div("div"))
88-
)
84+
@sect{Node.appendChild}
85+
@pair(
86+
"NodeAppendChild",
87+
Seq(div("div"))
88+
)
8989

90-
@sect{Node.onmousemove}
91-
@pair(
92-
"EventHandler",
93-
Seq(pre("pre")),
94-
autorun=true
95-
)
90+
@sect{Node.onmousemove}
91+
@pair(
92+
"EventHandler",
93+
Seq(pre("pre")),
94+
autorun=true
95+
)
9696

97-
@sect{dom.btoa}
98-
@pair(
99-
"Base64",
100-
Seq(input(width:="100%", placeholder:="Enter text to b64 encode"), div),
101-
autorun=true
102-
)
97+
@sect{dom.btoa}
98+
@pair(
99+
"Base64",
100+
Seq(input(width:="100%", placeholder:="Enter text to b64 encode"), div),
101+
autorun=true
102+
)
103103

104-
@sect{dom.localStorage}
105-
@pair(
106-
"LocalStorage",
107-
Seq(input(width:="100%"), div),
108-
autorun=true
109-
)
104+
@sect{dom.localStorage}
105+
@pair(
106+
"LocalStorage",
107+
Seq(input(width:="100%"), div),
108+
autorun=true
109+
)
110110

111-
@sect{dom.HTMLCanvasElement}
112-
@pair(
113-
"Canvas",
114-
Seq(canvas),
115-
autorun=true
116-
)
111+
@sect{dom.HTMLCanvasElement}
112+
@pair(
113+
"Canvas",
114+
Seq(canvas),
115+
autorun=true
116+
)
117117

118-
@sect{dom.XMLHttpRequest}
119-
@pair(
120-
"XMLHttpRequest",
121-
Seq(
122-
pre("output")
118+
@sect{dom.XMLHttpRequest}
119+
@pair(
120+
"XMLHttpRequest",
121+
Seq(
122+
pre("output")
123+
)
123124
)
124-
)
125125

126-
@sect{dom.Websocket}
127-
@pair(
128-
"Websocket",
129-
Seq(
130-
input(placeholder:="Type something in"),
131-
pre("output")
132-
),
133-
autorun=true
134-
)
126+
@sect{dom.Websocket}
127+
@pair(
128+
"Websocket",
129+
Seq(
130+
input(placeholder:="Type something in"),
131+
pre("output")
132+
),
133+
autorun=true
134+
)
135135

136-
@sect{Element.style}
137-
@pair(
138-
"ElementStyle",
139-
Seq(div(b("div"), height:="50px"))
140-
)
136+
@sect{Element.style}
137+
@pair(
138+
"ElementStyle",
139+
Seq(div(b("div"), height:="50px"))
140+
)
141141

142142
@p
143143
The goal of this project is to provide a thin-but-idiomatic-scala interface to modern browser APIs. In particular:

0 commit comments

Comments
 (0)