dispose method

void dispose()

Implementation

void dispose() {
	this.domElement.removeEventListener( 'contextmenu', contextmenu, false );
	this.domElement.removeEventListener( 'mousedown', onMouseDown, false );
	this.domElement.removeEventListener( 'mousemove', onMouseMove, false );
	this.domElement.removeEventListener( 'mouseup', onMouseUp, false );

	this.domElement.removeEventListener( 'keydown', onKeyDown, false );
	this.domElement.removeEventListener( 'keyup', onKeyUp, false );

}