src/js/libs/spiritual-gui.js
function(context) {
		this._keymap = Object.create(null);
		["keydown", "keypress", "keyup"].forEach(function(type) {
			context.document.addEventListener(type, this, false);
		}, this);
	}
function(context) {
		this._keymap = Object.create(null);
		["keydown", "keypress", "keyup"].forEach(function(type) {
			context.document.addEventListener(type, this, false);
		}, this);
	}
function ( context ) { this . _keymap = Object . create ( null ) ; [ "keydown" , "keypress" , "keyup" ] . forEach ( function ( type ) { context . document . addEventListener ( type , this , false ) ; } , this ) ; }
Context init.
@param {Window} context
Context init .