src/browser/with-observer/observer.js
/**
     * Process array of mutations
     *
     * @param mutations
     */
Process array of mutations
@param mutations
Process array of mutations @param mutations
function processMutations(mutations) {
        mutations.forEach(function(mutation) {
            var i;
            if (addedNodes === false) {
                addedNodes = [];
                window.setTimeout(processPendingMutations, 0);
            }
            if (mutation.addedNodes) {
                for (i = 0; i < mutation.addedNodes.length; i++) {
                    addedNodes.push(mutation.addedNodes[i]);
                }
            }
        });
    }
function processMutations ( mutations ) { mutations . forEach ( function ( mutation ) { var i ; if ( addedNodes === false ) { addedNodes = [ ] ; window . setTimeout ( processPendingMutations , 0 ) ; } if ( mutation . addedNodes ) { for ( i = 0 ; i < mutation . addedNodes . length ; i ++ ) { addedNodes . push ( mutation . addedNodes [ i ] ) ; } } } ) ; }
Process array of mutations
 @param mutations
Process array of mutations @param mutations
// Parse on next tick to collect all mutations