function findMatchRecur(el){
      /* We're going to make the assumption that we're not binding
        * multiple event classes to the same element.
        * (next + previous = wait... err... what?)
        *
        * In the odd event we end up with an element with multiple
        * possible matches, the following priority order is applied:
        * hopscotch-cta, hopscotch-next, hopscotch-prev, hopscotch-close
        */
        if(el === evt.currentTarget){ return null; }
        if(utils.hasClass(el, 'hopscotch-cta')){ return 'cta'; }
        if(utils.hasClass(el, 'hopscotch-next')){ return 'next'; }
        if(utils.hasClass(el, 'hopscotch-prev')){ return 'prev'; }
        if(utils.hasClass(el, 'hopscotch-close')){ return 'close'; }
        /*else*/ return findMatchRecur(el.parentElement);
    }
//with one of the classes we're looking for, or the triggering element.
with one of the classes we're looking for, or the triggering element.
with one of the classes we ' re looking for or the triggering element .
function findMatchRecur(el){
        if(el === evt.currentTarget){ return null; }
        if(utils.hasClass(el, 'hopscotch-cta')){ return 'cta'; }
        if(utils.hasClass(el, 'hopscotch-next')){ return 'next'; }
        if(utils.hasClass(el, 'hopscotch-prev')){ return 'prev'; }
        if(utils.hasClass(el, 'hopscotch-close')){ return 'close'; }
         return findMatchRecur(el.parentElement);
    }
function findMatchRecur ( el ) { if ( el === evt . currentTarget ) { return null ; } if ( utils . hasClass ( el , 'hopscotch-cta' ) ) { return 'cta' ; } if ( utils . hasClass ( el , 'hopscotch-next' ) ) { return 'next' ; } if ( utils . hasClass ( el , 'hopscotch-prev' ) ) { return 'prev' ; } if ( utils . hasClass ( el , 'hopscotch-close' ) ) { return 'close' ; } return findMatchRecur ( el . parentElement ) ; }
with one of the classes we're looking for, or the triggering element.
with one of the classes we ' re looking for or the triggering element .
/* We're going to make the assumption that we're not binding
        * multiple event classes to the same element.
        * (next + previous = wait... err... what?)
        *
        * In the odd event we end up with an element with multiple
        * possible matches, the following priority order is applied:
        * hopscotch-cta, hopscotch-next, hopscotch-prev, hopscotch-close
        */ /*else*/