Host FlexSearch
This commit is contained in:
22
paige/node_modules/flexsearch/dist/module-debug/global.js
generated
vendored
Normal file
22
paige/node_modules/flexsearch/dist/module-debug/global.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
export const global_lang = {};
|
||||
export const global_charset = {};
|
||||
|
||||
/**
|
||||
* @param {!string} name
|
||||
* @param {Object} charset
|
||||
*/
|
||||
|
||||
export function registerCharset(name, charset) {
|
||||
|
||||
global_charset[name] = charset;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {!string} name
|
||||
* @param {Object} lang
|
||||
*/
|
||||
|
||||
export function registerLanguage(name, lang) {
|
||||
|
||||
global_lang[name] = lang;
|
||||
}
|
Reference in New Issue
Block a user