lunr-languages
lunr-languages copied to clipboard
Define variables with var in wordcut.js
When running in a browser application, specifically Angular 8 and above, these 2 errors were being thrown:
- wordcut.js:71 Uncaught ReferenceError: defaultDict is not defined
- wordcut.js:109 Uncaught ReferenceError: words is not defined