Closed Heroj04 closed 3 years ago
Templates should be able to be loaded from a URL This would also allow for easier management of default Template selection.
var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("json").value = this.responseText; } }; xhttp.open("GET", "templates/basicFullArtLand/basicFullArtLand.json", true); xhttp.send();
This is added in #16 but it still needs to respect CORS policy, See #3
Templates should be able to be loaded from a URL
This would also allow for easier management of default Template selection.