diff --git a/dec/dictionary-browser.js b/dec/dictionary-browser.js index 6144b7d..c0e2e59 100644 --- a/dec/dictionary-browser.js +++ b/dec/dictionary-browser.js @@ -1,11 +1,10 @@ var base64 = require('base64-js'); -var fs = require('fs'); /** - * The normal dictionary-data.js is quite large, which makes it - * unsuitable for browser usage. In order to make it smaller, + * The normal dictionary-data.js is quite large, which makes it + * unsuitable for browser usage. In order to make it smaller, * we read dictionary.bin, which is a compressed version of - * the dictionary, and on initial load, Brotli decompresses + * the dictionary, and on initial load, Brotli decompresses * it's own dictionary. 😜 */ exports.init = function() { diff --git a/dec/dictionary.js b/dec/dictionary.js index 927208a..2d1d478 100644 --- a/dec/dictionary.js +++ b/dec/dictionary.js @@ -15,7 +15,7 @@ Collection of static dictionary words. */ -var data = require('./dictionary-data'); +var data = require('./dictionary-browser'); exports.init = function() { exports.dictionary = data.init(); };