dist/validetta.js
function( el ) {
      var upLength = parseInt( el.getAttribute( 'data-vd-parent-up' ), 10 ) || 0;
      for ( var i = 0; i <= upLength ; i++ ) {
        el = el.parentNode;
      }
      return el;
    }
function( el ) {
      var upLength = parseInt( el.getAttribute( 'data-vd-parent-up' ), 10 ) || 0;
      for ( var i = 0; i <= upLength ; i++ ) {
        el = el.parentNode;
      }
      return el;
    }
function ( el ) { var upLength = parseInt ( el . getAttribute ( 'data-vd-parent-up' ) , 10 ) || 0 ; for ( var i = 0 ; i <= upLength ; i ++ ) { el = el . parentNode ; } return el ; }
Finds parent element

@param  {object} el element
@return {object} el parent element
Finds parent element