src/js/libs/spiritual-gui.js
function(node, othernode) {
			var check = Node.DOCUMENT_POSITION_CONTAINS + Node.DOCUMENT_POSITION_PRECEDING;
			return this.compare(othernode, node) === check;
		}
function(node, othernode) {
			var check = Node.DOCUMENT_POSITION_CONTAINS + Node.DOCUMENT_POSITION_PRECEDING;
			return this.compare(othernode, node) === check;
		}
function ( node , othernode ) { var check = Node . DOCUMENT_POSITION_CONTAINS + Node . DOCUMENT_POSITION_PRECEDING ; return this . compare ( othernode , node ) === check ; }
Node contains other node?
@param {Node|gui.Spirit} node
@param {Node|gui.Spirit} othernode
@returns {boolean}
Node contains other node?