File tree 2 files changed +4
-2
lines changed
example/src/main/scala/io/udash/demos/jquery
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
package io .udash .demos .jquery
2
2
3
+ import io .udash .demos .jquery .views .IndexView
3
4
import io .udash .wrappers .jquery ._
4
5
import org .scalajs .dom
5
6
import org .scalajs .dom .Element
@@ -15,6 +16,7 @@ object Init {
15
16
if (appRoot.isEmpty) {
16
17
dom.console.error(" Application root element not found! Check you index.html file!" )
17
18
} else {
19
+ appRoot.get.appendChild(IndexView .content.render)
18
20
// applicationInstance.run(appRoot.get)
19
21
}
20
22
})
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ object IndexView {
24
24
)
25
25
26
26
final val content = div(
27
- " Take a look at following demo pages :" ,
28
- demos.map(_ .getTemplate),
27
+ " Take a look at following demos :" ,
28
+ demos.map(demo => div(demo .getTemplate) ),
29
29
)
30
30
}
You can’t perform that action at this time.
0 commit comments