lunr.Pipeline.warnIfFunctionNotRegistered = function()

in content/references/java-chassis/en_US/search/lunr.js [554:560]


lunr.Pipeline.warnIfFunctionNotRegistered = function (fn) {
  var isRegistered = fn.label && (fn.label in this.registeredFunctions)

  if (!isRegistered) {
    lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\n', fn)
  }
}