NO MOAR GLOBALS
The instance of Engine is no longer attached to window. Was only there for debugging purposes.
This commit is contained in:
parent
f984f33e8b
commit
2b01b4bad3
|
@ -61,7 +61,7 @@ var Init = {
|
|||
canvas.className = 'terraform-canvas';
|
||||
|
||||
jumbotron.appendChild(canvas);
|
||||
window.engine = new Engine(canvas, galaxy, tagLine);
|
||||
new Engine(canvas, galaxy, tagLine);
|
||||
},
|
||||
|
||||
Pages: {
|
||||
|
|
Loading…
Reference in New Issue