lib/restructure/utils.js
function hasSimilarSelectors(selectors1, selectors2) {
    var cursor1 = selectors1.head;

    while (cursor1 !== null) {
        var cursor2 = selectors2.head;

        while (cursor2 !== null) {
            if (cursor1.data.compareMarker === cursor2.data.compareMarker) {
                return true;
            }

            cursor2 = cursor2.next;
        }

        cursor1 = cursor1.next;
    }

    return false;
}
function hasSimilarSelectors(selectors1, selectors2) {
    var cursor1 = selectors1.head;

    while (cursor1 !== null) {
        var cursor2 = selectors2.head;

        while (cursor2 !== null) {
            if (cursor1.data.compareMarker === cursor2.data.compareMarker) {
                return true;
            }

            cursor2 = cursor2.next;
        }

        cursor1 = cursor1.next;
    }

    return false;
}
function hasSimilarSelectors ( selectors1 , selectors2 ) { var cursor1 = selectors1 . head ; while ( cursor1 !== null ) { var cursor2 = selectors2 . head ; while ( cursor2 !== null ) { if ( cursor1 . data . compareMarker === cursor2 . data . compareMarker ) { return true ; } cursor2 = cursor2 . next ; } cursor1 = cursor1 . next ; } return false ; }
check if simpleselectors has no equal specificity and element selector
check if simpleselectors has no equal specificity and element selector