mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
test
This commit is contained in:
@@ -10,10 +10,11 @@ function initiate() {
|
|||||||
document.getElementById("displayCanvas").width = cardWidth;
|
document.getElementById("displayCanvas").width = cardWidth;
|
||||||
document.getElementById("displayCanvas").height = cardHeight;
|
document.getElementById("displayCanvas").height = cardHeight;
|
||||||
window.displayContext = displayCanvas.getContext("2d");
|
window.displayContext = displayCanvas.getContext("2d");
|
||||||
loadScript("data/scripts/sortable.js");
|
// loadScript("data/scripts/sortable.js");
|
||||||
import Sortable from './data/scripts/sortable.js';
|
import Sortable from './data/scripts/sortable.js';
|
||||||
// var el = document.getElementById('items');
|
// var el = document.getElementById('items');
|
||||||
// var sortable = Sortable.create(el);
|
// var sortable = Sortable.create(el);
|
||||||
|
console.log("init done")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -93,5 +93,5 @@
|
|||||||
</footer>
|
</footer>
|
||||||
<script src="data/scripts/colors.js"></script>
|
<script src="data/scripts/colors.js"></script>
|
||||||
<!-- <script src="data/scripts/sortable.js" type="module"></script> -->
|
<!-- <script src="data/scripts/sortable.js" type="module"></script> -->
|
||||||
<script src="data/scripts/main.js" type="module"></script>
|
<script type="module" src="data/scripts/main.js"></script>
|
||||||
<html>
|
<html>
|
||||||
|
Reference in New Issue
Block a user