src/View.js
function(id) {
		var canvasContainer = document.createElement("div");
		canvasContainer.id = id;
		canvasContainer.width = window.innerWidth;
		canvasContainer.height = window.innerHeight;
		this.addCanvasContainerToDOMBody(canvasContainer);
		this.setDOMMode(canvasContainer, this.domMode);
		return canvasContainer;
	}
function(id) {
		var canvasContainer = document.createElement("div");
		canvasContainer.id = id;
		canvasContainer.width = window.innerWidth;
		canvasContainer.height = window.innerHeight;
		this.addCanvasContainerToDOMBody(canvasContainer);
		this.setDOMMode(canvasContainer, this.domMode);
		return canvasContainer;
	}
function ( id ) { var canvasContainer = document . createElement ( "div" ) ; canvasContainer . id = id ; canvasContainer . width = window . innerWidth ; canvasContainer . height = window . innerHeight ; this . addCanvasContainerToDOMBody ( canvasContainer ) ; this . setDOMMode ( canvasContainer , this . domMode ) ; return canvasContainer ; }
Creates the canvas DOM Element and appends it to the document body
@return {CanvasElement} The newly created canvas element.
Creates the canvas DOM Element and appends it to the document body