diff options
Diffstat (limited to 'modules/freetype2/docs/reference/assets/javascripts/lunr/min/lunr.multi.min.js')
-rw-r--r-- | modules/freetype2/docs/reference/assets/javascripts/lunr/min/lunr.multi.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/freetype2/docs/reference/assets/javascripts/lunr/min/lunr.multi.min.js b/modules/freetype2/docs/reference/assets/javascripts/lunr/min/lunr.multi.min.js new file mode 100644 index 0000000000..7debad0961 --- /dev/null +++ b/modules/freetype2/docs/reference/assets/javascripts/lunr/min/lunr.multi.min.js @@ -0,0 +1 @@ +!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))}}}});
\ No newline at end of file |