Add files via upload

This commit is contained in:
Kyle
2018-08-15 21:13:54 -07:00
committed by GitHub
parent cf77915fef
commit 03e48dedca
14 changed files with 572 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
//loadColors("white-White,blue-Blue,colorlessLand-Colorless Land,gold-Gold")
function loadColors(colors) {
var endResult = ""
var colorList = colors.split(",")
for (i = 0; i < colorList.length; i++) {
endResult += "<option value='" + colorList[i].split("-")[0] + "'>" + colorList[i].split("-")[1] + "</option>"
}
document.getElementById("colorSelection").innerHTML = endResult
}