public/ckeditor/_source/core/dom/elementpath.js
function( otherPath )
	{
		var thisElements = this.elements;
		var otherElements = otherPath && otherPath.elements;

		if ( !otherElements || thisElements.length != otherElements.length )
			return false;

		for ( var i = 0 ; i < thisElements.length ; i++ )
		{
			if ( !thisElements[ i ].equals( otherElements[ i ] ) )
				return false;
		}

		return true;
	}
function( otherPath )
	{
		var thisElements = this.elements;
		var otherElements = otherPath && otherPath.elements;

		if ( !otherElements || thisElements.length != otherElements.length )
			return false;

		for ( var i = 0 ; i < thisElements.length ; i++ )
		{
			if ( !thisElements[ i ].equals( otherElements[ i ] ) )
				return false;
		}

		return true;
	}
function ( otherPath ) { var thisElements = this . elements ; var otherElements = otherPath && otherPath . elements ; if ( ! otherElements || thisElements . length != otherElements . length ) return false ; for ( var i = 0 ; i < thisElements . length ; i ++ ) { if ( ! thisElements [ i ] . equals ( otherElements [ i ] ) ) return false ; } return true ; }
Compares this element path with another one.
@param {CKEDITOR.dom.elementPath} otherPath The elementPath object to be
compared with this one.
@returns {Boolean} "true" if the paths are equal, containing the same
number of elements and the same elements in the same order.
Compares this element path with another one .