@@ -1,3 +1,9 @@ | |||
body{ | |||
background-color:#000; | |||
background-color:#666; | |||
} | |||
#painter{ | |||
background-color:#444; | |||
width: 75%; | |||
height: 75% | |||
} |
@@ -1,7 +1,6 @@ | |||
function initialize(DOC){ | |||
console.log(DOC); | |||
var canvas = DOC.getElementById("painter"); | |||
if (!canvas){ | |||
throw new Error("DOM Missing painter canvas."); |
@@ -11,7 +11,7 @@ | |||
</head> | |||
<body> | |||
<canvas id="painte"></canvas> | |||
<canvas id="painter" width:"128" height:"256"></canvas> | |||
</body> | |||
<script src="app/js/main.js"></script> |