mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update main.js
This commit is contained in:
@@ -30,22 +30,14 @@ 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");
|
||||||
<<<<<<< HEAD
|
|
||||||
newCanvas("frameMask");
|
newCanvas("frameMask");
|
||||||
newCanvas("frameFinal");
|
newCanvas("frameFinal");
|
||||||
newCanvas("cardFinal");
|
newCanvas("cardFinal");
|
||||||
//Loads up anything that uses Sortable.js
|
//Loads up anything that uses Sortable.js
|
||||||
var sortable = Sortable.create(cardMaster, {animation: 150, ghostClass: "cardMasterElementMoving"});
|
var sortable = Sortable.create(cardMaster, {animation: 150, ghostClass: "cardMasterElementMoving"});
|
||||||
//initiation is complete, ready to load image data
|
//initiation is complete, ready to load image data
|
||||||
console.log("init done");
|
|
||||||
loadImageCSV();
|
loadImageCSV();
|
||||||
=======
|
|
||||||
// loadScript("data/scripts/sortable.js");
|
|
||||||
import Sortable from "./sortable.js";
|
|
||||||
var el = document.getElementById('items');
|
|
||||||
// var sortable = Sortable.create(el);
|
|
||||||
console.log("init done")
|
console.log("init done")
|
||||||
>>>>>>> 14a4104f200c050a672892cadd01502c7e047d63
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user