Skip to content

Commit

Permalink
working JS based kool template sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Jul 6, 2012
1 parent 4313037 commit 2ff80da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javafx/kool-javafx-sample/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- this is the bootstrap mechanism to initialise our Kotlin application -->
<script type="text/javascript" src="src/main/js/jquery.js"></script>
<script type="text/javascript" src="target/js/kotlin-lib-ecma3.js"></script>
<script type="text/javascript" src="target/js/kotlin-lib.js"></script>
<script type="text/javascript" src="target/js/kool-javafx-sample.js"></script>
</head>
Expand All @@ -18,7 +19,7 @@ <h1>Sample</h1>
<p>Should have generated stuff above...</p>

<script type="text/javascript">
$(document).ready(test.kool.myapp.myApp)
$(document).ready(Kotlin.modules['kool-javafx-sample'].test.kool.myapp.myApp)
</script>

</body>
Expand Down

0 comments on commit 2ff80da

Please sign in to comment.