fix
This commit is contained in:
24
book/node_modules/lunr/lib/utils.js
generated
vendored
Normal file
24
book/node_modules/lunr/lib/utils.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
/*!
|
||||
* lunr.utils
|
||||
* Copyright (C) @YEAR Oliver Nightingale
|
||||
*/
|
||||
|
||||
/**
|
||||
* A namespace containing utils for the rest of the lunr library
|
||||
*/
|
||||
lunr.utils = {}
|
||||
|
||||
/**
|
||||
* Print a warning message to the console.
|
||||
*
|
||||
* @param {String} message The message to be printed.
|
||||
* @memberOf Utils
|
||||
*/
|
||||
lunr.utils.warn = (function (global) {
|
||||
return function (message) {
|
||||
if (global.console && console.warn) {
|
||||
console.warn(message)
|
||||
}
|
||||
}
|
||||
})(this)
|
||||
|
Reference in New Issue
Block a user