Skip to content

Commit

Permalink
Move definition of flexSearchData
Browse files Browse the repository at this point in the history
  • Loading branch information
smori1983 committed Sep 26, 2023
1 parent b400875 commit 4f52586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const path = require('path');
const tokenizer = require('./tokenizer');
const TokenizerBase = require('./tokenizer/tokenizer-base');

const flexSearchData = {};

/**
* @param {Object} options
* @param {Context} ctx
Expand Down Expand Up @@ -38,6 +36,8 @@ module.exports = (options, ctx) => {
}
})(searchPaths);

const flexSearchData = {};

return {
define: {
FLEX_SEARCH_HOTKEYS: searchHotKeys,
Expand Down

0 comments on commit 4f52586

Please sign in to comment.