dist/joint.nowrap.js
function(el, prevSelector) {

        var selector;

        if (el === this.el) {
            if (typeof prevSelector === 'string') selector = '> ' + prevSelector;
            return selector;
        }

        if (el) {

            var nthChild = V(el).index() + 1;
            selector = el.tagName + ':nth-child(' + nthChild + ')';

            if (prevSelector) {
                selector += ' > ' + prevSelector;
            }

            selector = this.getSelector(el.parentNode, selector);
        }

        return selector;
    }
function(el, prevSelector) {

        var selector;

        if (el === this.el) {
            if (typeof prevSelector === 'string') selector = '> ' + prevSelector;
            return selector;
        }

        if (el) {

            var nthChild = V(el).index() + 1;
            selector = el.tagName + ':nth-child(' + nthChild + ')';

            if (prevSelector) {
                selector += ' > ' + prevSelector;
            }

            selector = this.getSelector(el.parentNode, selector);
        }

        return selector;
    }
function ( el , prevSelector ) { var selector ; if ( el === this . el ) { if ( typeof prevSelector === 'string' ) selector = '> ' + prevSelector ; return selector ; } if ( el ) { var nthChild = V ( el ) . index ( ) + 1 ; selector = el . tagName + ':nth-child(' + nthChild + ')' ; if ( prevSelector ) { selector += ' > ' + prevSelector ; } selector = this . getSelector ( el . parentNode , selector ) ; } return selector ; }
Construct a unique selector for the `el` element within this view. `prevSelector` is being collected through the recursive call. No value for `prevSelector` is expected when using this method.
Construct a unique selector for the el element within this view . prevSelector is being collected through the recursive call . No value for prevSelector is expected when using this method .