Update main.js

This commit is contained in:
Kyle
2019-11-27 20:33:13 -08:00
parent 3ec22ca6c5
commit 14a4104f20

View File

@@ -11,8 +11,8 @@ function initiate() {
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 "./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") console.log("init done")
} }