lost+found/src/pattern.js
function (item, state) {
                state.count = 0;
                state.sub = {};
                item.reset(state.sub);
            }
function (item, state) {
                state.count = 0;
                state.sub = {};
                item.reset(state.sub);
            }
function ( item , state ) { state . count = 0 ; state . sub = { } ; item . reset ( state . sub ) ; }
Reset for the provided item

@param {PatternItem} item
@param {Object} state
@private
Reset for the provided item