src/js/libs/spiritual-gui.js
function(type) {
			var result = [],
				spirit, el = this.spirit.element;
			while ((el = el.nextElementSibling)) {
				if (type && (spirit = el.spirit)) {
					if (spirit instanceof type) {
						result.push(spirit);
					}
				} else {
					result.push(el);
				}
			}
			return result;
		}
function(type) {
			var result = [],
				spirit, el = this.spirit.element;
			while ((el = el.nextElementSibling)) {
				if (type && (spirit = el.spirit)) {
					if (spirit instanceof type) {
						result.push(spirit);
					}
				} else {
					result.push(el);
				}
			}
			return result;
		}
function ( type ) { var result = [ ] , spirit , el = this . spirit . element ; while ( ( el = el . nextElementSibling ) ) { if ( type && ( spirit = el . spirit ) ) { if ( spirit instanceof type ) { result . push ( spirit ) ; } } else { result . push ( el ) ; } } return result ; }
Get following sibling elements or spirits of type.
@param @optional {function} type
@returns {Array<element|gui.Spirit>}
Get following sibling elements or spirits of type .