summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevgeny <me@ch1p.com>2016-09-17 02:24:47 +0200
committerevgeny <me@ch1p.com>2016-09-17 02:24:47 +0200
commit924145b3c576f8a7432c9e30d30b91dc3b46f3a8 (patch)
treee92935ee9f9b2e55b1f75a09f12ff189c929b989
parentffdbf53fd437d3a53754f14598c3233230495e04 (diff)
clean code
-rwxr-xr-xindex.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/index.js b/index.js
index fdfd036..05baa3a 100755
--- a/index.js
+++ b/index.js
@@ -1,4 +1,4 @@
-'use strict';
+'use strict'
//Gen, //родительный падеж (нет кого? чего?)
//Dat, //дательный падеж (дать кому? чему?)
@@ -11,7 +11,7 @@
//Equ,
//Com
-const nativeModule = require('./build/Release/vkext_flex');
+const nativeModule = require('./build/Release/vkext_flex')
nativeModule.languageCode = 0
nativeModule.initializeLanguage = function(language) {
if (language == 'ua') {
@@ -26,6 +26,3 @@ nativeModule.flexSurname = function(surname, sex, name_case) {
}
module.exports = nativeModule
-
-console.log(nativeModule.flexName('Дмитрий', 2, "Gen"));
-console.log(nativeModule.flexSurname('Кондратьев', 2, "Gen")); \ No newline at end of file