public/ckeditor/4.4dev/core/tools.js
function( left, right, onlyLeft ) {
			var name;

			if ( !left && !right )
				return true;
			if ( !left || !right )
				return false;

			for ( name in left ) {
				if ( left[ name ] != right[ name ] )
					return false;

			}

			if ( !onlyLeft ) {
				for ( name in right ) {
					if ( left[ name ] != right[ name ] )
						return false;
				}
			}

			return true;
		}
function( left, right, onlyLeft ) {
			var name;

			if ( !left && !right )
				return true;
			if ( !left || !right )
				return false;

			for ( name in left ) {
				if ( left[ name ] != right[ name ] )
					return false;

			}

			if ( !onlyLeft ) {
				for ( name in right ) {
					if ( left[ name ] != right[ name ] )
						return false;
				}
			}

			return true;
		}
function ( left , right , onlyLeft ) { var name ; if ( ! left && ! right ) return true ; if ( ! left || ! right ) return false ; for ( name in left ) { if ( left [ name ] != right [ name ] ) return false ; } if ( ! onlyLeft ) { for ( name in right ) { if ( left [ name ] != right [ name ] ) return false ; } } return true ; }
Compares two objects.

**Note:** This method performs shallow, non-strict comparison.

@since 4.1
@param {Object} left
@param {Object} right
@param {Boolean} [onlyLeft] Check only the properties that are present in the `left` object.
@returns {Boolean} Whether objects are identical.
Compares two objects .