git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@63316 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Alexander.Trofimov
2015-06-30 15:53:14 +00:00
parent 82a7ded19c
commit 154a3a5ad1

View File

@ -51,7 +51,7 @@ exports.install = function (server, callbackFunction) {
case 'spellCheck': spellCheck(conn, data);break;
}
} catch (e) {
logger.error("error receiving response:" + e);
logger.error("error receiving response: %s", e);
}
});
conn.on('error', function () {
@ -75,6 +75,7 @@ exports.install = function (server, callbackFunction) {
}
}
function spellSuggest(index, word, lang) {
logger.info('word = %s, lang = %s', word, lang);
var oDictionary = arrDictionaries[lang];
if (undefined === oDictionary) {
data.usrCorrect[index] = false;