Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"init" : function(){
config = this.options;
pluginConfig = this.options.pluginsConfig['search-pro'];
// 导入book.json里面插件配置中的自定义词典
// nodejieba.insertWord("word1","word2",....);
nodejieba.insertWord.apply(this,pluginConfig.defineWord);
},