code: function (el, func) {
  		var res;
  		while (el && res !== false) {
  			res = func(el);
  			el = el.parentNode;
  		}
  		return el;
  	}
docs: Calls a function on the element and all parents of the element until the function returns
  false.
  @hide
  @param {Object} el
  @param {Object} func