in miredot/lib/lunr/js/lunr.js [473:489]
lunr.Pipeline.prototype.run = function (tokens) {
var stackLength = this._stack.length
for (var i = 0; i < stackLength; i++) {
var fn = this._stack[i]
tokens = tokens.reduce(function (memo, token, j) {
var result = fn(token, j, tokens)
if (result === void 0 || result === '') return memo
return memo.concat(result)
}, [])
}
return tokens
}