Full typescript and mvvm implementation #3
@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import {main, btnHigherClick, btnLowerClick} from "./game.js"
|
import {main, btnHigherClick, btnLowerClick} from "./js/game.js"
|
||||||
window.btnHigherClick = btnHigherClick
|
window.btnHigherClick = btnHigherClick
|
||||||
window.btnLowerClick = btnLowerClick
|
window.btnLowerClick = btnLowerClick
|
||||||
main()
|
main()
|
||||||
|
2
gst.html
2
gst.html
@ -68,7 +68,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import {main, btnClick} from "./gst.js"
|
import {main, btnClick} from "./js/gst.js"
|
||||||
window.btnClick = btnClick
|
window.btnClick = btnClick
|
||||||
main()
|
main()
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user