Update spellCheck.js

changed directory name
This commit is contained in:
Alexey Golubev
2016-03-31 11:52:17 +03:00
committed by Alexander.Trofimov
parent 7ab7d84e9d
commit b3ed84c12d

View File

@ -13,7 +13,7 @@ var arrDictionaries = {};
for (var indexDict = 0, lengthDict = arrDictionariesConfig.length; indexDict < lengthDict; ++indexDict) {
oDictTmp = arrDictionariesConfig[indexDict];
oDictName = oDictTmp.name;
pathTmp = __dirname + '/../Dictionaries/' + oDictName + '/' + oDictName + '.';
pathTmp = __dirname + '/../dictionaries/' + oDictName + '/' + oDictName + '.';
arrDictionaries[oDictTmp.id] = new nodehun(fs.readFileSync(pathTmp + 'aff'), fs.readFileSync(pathTmp + 'dic'));
}
})();
@ -132,4 +132,4 @@ exports.spellSuggest = function (type, word, lang, callbackFunction) {
callbackFunction(suggestions);
});
}
};
};