bundles/org.eclipse.orion.client.core/web/orion/keyBinding.js
function(kb) {
			if (!kb.keys) { return false; }
			if (kb.keys.length !== this.keys.length) { return false; }
			for (var i=0; i<kb.keys.length; i++) {
				if (!kb.keys[i].equals(this.keys[i])) { return false; }
			}
			return true;
		}
function(kb) {
			if (!kb.keys) { return false; }
			if (kb.keys.length !== this.keys.length) { return false; }
			for (var i=0; i<kb.keys.length; i++) {
				if (!kb.keys[i].equals(this.keys[i])) { return false; }
			}
			return true;
		}
function ( kb ) { if ( ! kb . keys ) { return false ; } if ( kb . keys . length !== this . keys . length ) { return false ; } for ( var i = 0 ; i < kb . keys . length ; i ++ ) { if ( ! kb . keys [ i ] . equals ( this . keys [ i ] ) ) { return false ; } } return true ; }
Returns whether this key sequence is the same as the given parameter.

@param {orion.KeyBinding|orion.KeySequence} 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 sequence is the same as the given parameter .