static/app.js
/**
 * Get the element that serves as the base for this ones positioning.
 * If no parents are postioned it will return undefined which isn't 
 * what you might expect if you know the offsetparent spec or have 
 * used `jQuery.offsetParent`
 * 
 * @param {Element} element
 * @return {Element} if a positioned parent exists
 */
Get the element that serves as the base for this ones positioning.
If no parents are postioned it will return undefined which isn't
what you might expect if you know the offsetparent spec or have
used `jQuery.offsetParent`

@param {Element} element
@return {Element} if a positioned parent exists
Get the element that serves as the base for this ones positioning . If no parents are postioned it will return undefined which isn ' t what you might expect if you know the offsetparent spec or have used ` jQuery . offsetParent ` @param { Element } element @return { Element } if a positioned parent exists
function offsetParent (element) {
	var parent = element.offsetParent
	while (parent && style(parent).position === "static") parent = parent.offsetParent
	return parent
}
function offsetParent ( element ) { var parent = element . offsetParent while ( parent && style ( parent ) . position === "static" ) parent = parent . offsetParent return parent }
Get the element that serves as the base for this ones positioning.
Get the element that serves as the base for this ones positioning .