_site/js/lunr.min.js
File lunr.min.js
has 475 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.7.2
* Copyright (C) 2016 Oliver Nightingale
* @license MIT
*/
Function stemmer
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, t.stemmer = function() {
var t = {
ational: "ate",
tional: "tion",
enci: "ence",
Function search
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, t.Index.prototype.search = function(e) {
var n = this.pipeline.run(this.tokenizerFn(e)),
i = new t.Vector,
r = [],
o = this._fields.reduce(function(t, e) {
Function T
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
T = function(n) {
var i, r, o, s, a, h, u;
if (n.length < 3) return n;
if (o = n.substr(0, 1), "y" == o && (n = o.toUpperCase() + n.substr(1)), s = p, a = v, s.test(n) ? n = n.replace(s, "$1$2") : a.test(n) && (n = n.replace(a, "$1$2")), s = g, a = m, s.test(n)) {
var T = s.exec(n);
Function add
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
}, t.Index.prototype.add = function(e, n) {
var i = {},
r = new t.SortedSet,
o = e[this._ref],
n = void 0 === n ? !0 : n;