A namespace containing utils for the rest of the lunr library
elasticlunr.utils = {}
Option name | Type | Description |
---|---|---|
message | String | The message to be printed. |
Print a warning message to the console.
elasticlunr.utils.warn = (function (global) {
return function (message) {
if (global.console && console.warn) {
console.warn(message)
}
}
})(this)