@@ -5,7 +5,7 @@ import scala.scalajs.js.annotation._
5
5
import org .scalajs .dom
6
6
import dom .html
7
7
8
- @ JSExportTopLevel (" example.Alert " )
8
+ @ JSExportTopLevel (" ExampleAlert " )
9
9
object Alert {
10
10
@ JSExport
11
11
def main () = {
@@ -14,7 +14,7 @@ object Alert {
14
14
}
15
15
}
16
16
17
- @ JSExportTopLevel (" example.NodeAppendChild " )
17
+ @ JSExportTopLevel (" ExampleNodeAppendChild " )
18
18
object NodeAppendChild {
19
19
@ JSExport
20
20
def main (div : html.Div ) = {
@@ -28,7 +28,7 @@ object NodeAppendChild {
28
28
}
29
29
}
30
30
31
- @ JSExportTopLevel (" example.ElementStyle " )
31
+ @ JSExportTopLevel (" ExampleElementStyle " )
32
32
object ElementStyle {
33
33
@ JSExport
34
34
def main (div : html.Div ) = {
@@ -43,7 +43,7 @@ object ElementStyle {
43
43
}
44
44
}
45
45
46
- @ JSExportTopLevel (" example.LocalStorage " )
46
+ @ JSExportTopLevel (" ExampleLocalStorage " )
47
47
object LocalStorage {
48
48
@ JSExport
49
49
def main (in : html.Input , box : html.Div ) = {
@@ -62,7 +62,7 @@ object LocalStorage {
62
62
}
63
63
}
64
64
65
- @ JSExportTopLevel (" example.Canvas " )
65
+ @ JSExportTopLevel (" ExampleCanvas " )
66
66
object Canvas {
67
67
@ JSExport
68
68
def main (c : html.Canvas ) = {
@@ -88,7 +88,7 @@ object Canvas {
88
88
}
89
89
}
90
90
91
- @ JSExportTopLevel (" example.Base64 " )
91
+ @ JSExportTopLevel (" ExampleBase64 " )
92
92
object Base64 {
93
93
@ JSExport
94
94
def main (in : html.Input ,
@@ -100,7 +100,7 @@ object Base64 {
100
100
}
101
101
}
102
102
103
- @ JSExportTopLevel (" example.EventHandler " )
103
+ @ JSExportTopLevel (" ExampleEventHandler " )
104
104
object EventHandler {
105
105
@ JSExport
106
106
def main (pre : html.Pre ) = {
@@ -118,7 +118,7 @@ object EventHandler{
118
118
}
119
119
}
120
120
121
- @ JSExportTopLevel (" example.XMLHttpRequest " )
121
+ @ JSExportTopLevel (" ExampleXMLHttpRequest " )
122
122
object XMLHttpRequest {
123
123
@ JSExport
124
124
def main (pre : html.Pre ) = {
@@ -137,7 +137,7 @@ object XMLHttpRequest{
137
137
}
138
138
}
139
139
140
- @ JSExportTopLevel (" example.Websocket " )
140
+ @ JSExportTopLevel (" ExampleWebsocket " )
141
141
object Websocket {
142
142
@ JSExport
143
143
def main (in : html.Input ,
@@ -157,7 +157,7 @@ object Websocket {
157
157
}
158
158
}
159
159
160
- @ JSExportTopLevel (" example.AjaxExtension " )
160
+ @ JSExportTopLevel (" ExampleAjaxExtension " )
161
161
object AjaxExtension {
162
162
@ JSExport
163
163
def main (pre : html.Pre ) = {
0 commit comments