File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
example/src/main/scala/io/udash/demos/jquery Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11package io .udash .demos .jquery
22
3+ import io .udash .demos .jquery .views .IndexView
34import io .udash .wrappers .jquery ._
45import org .scalajs .dom
56import org .scalajs .dom .Element
@@ -15,6 +16,7 @@ object Init {
1516 if (appRoot.isEmpty) {
1617 dom.console.error(" Application root element not found! Check you index.html file!" )
1718 } else {
19+ appRoot.get.appendChild(IndexView .content.render)
1820 // applicationInstance.run(appRoot.get)
1921 }
2022 })
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ object IndexView {
2424 )
2525
2626 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) ),
2929 )
3030}
You can’t perform that action at this time.
0 commit comments