ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/v0.8_or_older/assets/javascripts/lunr/min/lunr.multi.min.js
Ilya Grigoriev 2ca9a91c49 Link from docs website to older jj docs on Github
The docs were generated from this commit (which I'm not planning to
add to the main repo):

38f47701ae

Deployed 11c6d584 to v0.8.0 or older with MkDocs 1.5.2 and mike 1.1.2
2023-09-07 21:39:28 -07:00

1 line
No EOL
817 B
JavaScript

!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():t()(e.lunr)}(this,function(){return function(e){e.multiLanguage=function(){for(var t=Array.prototype.slice.call(arguments),i=t.join("-"),r="",n=[],s=[],p=0;p<t.length;++p)"en"==t[p]?(r+="\\w",n.unshift(e.stopWordFilter),n.push(e.stemmer),s.push(e.stemmer)):(r+=e[t[p]].wordCharacters,e[t[p]].stopWordFilter&&n.unshift(e[t[p]].stopWordFilter),e[t[p]].stemmer&&(n.push(e[t[p]].stemmer),s.push(e[t[p]].stemmer)));var o=e.trimmerSupport.generateTrimmer(r);return e.Pipeline.registerFunction(o,"lunr-multi-trimmer-"+i),n.unshift(o),function(){this.pipeline.reset(),this.pipeline.add.apply(this.pipeline,n),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add.apply(this.searchPipeline,s))}}}});