src/input.js
/*
 * Update the global binding map.
 */
Update the global binding map.
Update the global binding map .
function updateBindings() {
	var m = {};
	_.forEach(activeControls, function(controlSet) {
		_.forOwn(controlSet._bindings, function(value, name) {
			var cblist = m[name];
			if (!cblist) {
				cblist = [];
				m[name] = cblist;
			}
			cblist.push.apply(cblist, value);
		});
	});
	bindings = m;
}
function updateBindings ( ) { var m = { } ; _ . forEach ( activeControls , function ( controlSet ) { _ . forOwn ( controlSet . _bindings , function ( value , name ) { var cblist = m [ name ] ; if ( ! cblist ) { cblist = [ ] ; m [ name ] = cblist ; } cblist . push . apply ( cblist , value ) ; } ) ; } ) ; bindings = m ; }
Update the global binding map.
Update the global binding map .