bundles/org.eclipse.orion.client.core/web/orion/keyBinding.js
function(kb) {
			if (!kb) { return false; }
			if (this.keyCode !== kb.keyCode) { return false; }
			if (this.mod1 !== kb.mod1) { return false; }
			if (this.mod2 !== kb.mod2) { return false; }
			if (this.mod3 !== kb.mod3) { return false; }
			if (this.mod4 !== kb.mod4) { return false; }
			if (this.type !== kb.type) { return false; }
			return true;
		}
function(kb) {
			if (!kb) { return false; }
			if (this.keyCode !== kb.keyCode) { return false; }
			if (this.mod1 !== kb.mod1) { return false; }
			if (this.mod2 !== kb.mod2) { return false; }
			if (this.mod3 !== kb.mod3) { return false; }
			if (this.mod4 !== kb.mod4) { return false; }
			if (this.type !== kb.type) { return false; }
			return true;
		}
function ( kb ) { if ( ! kb ) { return false ; } if ( this . keyCode !== kb . keyCode ) { return false ; } if ( this . mod1 !== kb . mod1 ) { return false ; } if ( this . mod2 !== kb . mod2 ) { return false ; } if ( this . mod3 !== kb . mod3 ) { return false ; } if ( this . mod4 !== kb . mod4 ) { return false ; } if ( this . type !== kb . type ) { return false ; } return true ; }
Returns whether this key stroke is the same as the given parameter.

@param {orion.KeyBinding} kb the key binding to compare with.
@returns {Boolean} whether or not the parameter and the receiver describe the same key binding.
Returns whether this key stroke is the same as the given parameter .