microformat-shiv.js
function (node, options, recursive) {
			options = (options)? options : {};

			// recursive calls
		    if (recursive === undefined) {
		        if (node.parentNode && node.nodeName !== 'HTML'){
		            return this.getParentTreeWalk(node.parentNode, options, true);
				}else{
		            return this.formatEmpty();
				}
		    }
		    if (node !== null && node !== undefined && node.parentNode) {
		        if (this.isMicroformat( node, options )) {
					// if we have a match return microformat
					options.node = node;
		            return this.get( options );
		        }else{
		            return this.getParentTreeWalk(node.parentNode, options, true);
		        }
		    }else{
		        return this.formatEmpty();
		    }
		}
function (node, options, recursive) {
			options = (options)? options : {};

			// recursive calls
		    if (recursive === undefined) {
		        if (node.parentNode && node.nodeName !== 'HTML'){
		            return this.getParentTreeWalk(node.parentNode, options, true);
				}else{
		            return this.formatEmpty();
				}
		    }
		    if (node !== null && node !== undefined && node.parentNode) {
		        if (this.isMicroformat( node, options )) {
					// if we have a match return microformat
					options.node = node;
		            return this.get( options );
		        }else{
		            return this.getParentTreeWalk(node.parentNode, options, true);
		        }
		    }else{
		        return this.formatEmpty();
		    }
		}
function ( node , options , recursive ) { options = ( options ) ? options : { } ; // recursive calls if ( recursive === undefined ) { if ( node . parentNode && node . nodeName !== 'HTML' ) { return this . getParentTreeWalk ( node . parentNode , options , true ) ; } else { return this . formatEmpty ( ) ; } } if ( node !== null && node !== undefined && node . parentNode ) { if ( this . isMicroformat ( node , options ) ) { // if we have a match return microformat options . node = node ; return this . get ( options ) ; } else { return this . getParentTreeWalk ( node . parentNode , options , true ) ; } } else { return this . formatEmpty ( ) ; } }
internal parse to get parent microformats by walking up the tree

@param  {DOM Node} node
@param  {Object} options
@param  {Int} recursive
@return {Object}
internal parse to get parent microformats by walking up the tree