src/js/libs/spiritual-edb.js
function(newnode, oldnode, lastnode, id, ids) {
		var result = true,
			oldid = this._assistant.id(oldnode);
		if ((result = this._check(newnode, oldnode, lastnode, id, ids))) {
			if (oldid) {
				ids = gui.Object.copy(ids);
				lastnode = newnode;
				ids[oldid] = true;
				id = oldid;
			}
			result = this._crawl(newnode.firstChild, oldnode.firstChild, lastnode, id, ids);
		}
		return result;
	}
function(newnode, oldnode, lastnode, id, ids) {
		var result = true,
			oldid = this._assistant.id(oldnode);
		if ((result = this._check(newnode, oldnode, lastnode, id, ids))) {
			if (oldid) {
				ids = gui.Object.copy(ids);
				lastnode = newnode;
				ids[oldid] = true;
				id = oldid;
			}
			result = this._crawl(newnode.firstChild, oldnode.firstChild, lastnode, id, ids);
		}
		return result;
	}
function ( newnode , oldnode , lastnode , id , ids ) { var result = true , oldid = this . _assistant . id ( oldnode ) ; if ( ( result = this . _check ( newnode , oldnode , lastnode , id , ids ) ) ) { if ( oldid ) { ids = gui . Object . copy ( ids ) ; lastnode = newnode ; ids [ oldid ] = true ; id = oldid ; } result = this . _crawl ( newnode . firstChild , oldnode . firstChild , lastnode , id , ids ) ; } return result ; }
Scan elements.
@param {Element} newnode
@param {Element} oldnode
@param {Element} lastnode
@param {String} id
@param {Map<String,boolean>} ids
@returns {boolean}
Scan elements .