From 3f37bc76dff2f1761c0578e8d9cbdae190fc4dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20V=C3=A1clav=20Duben?= Date: Tue, 13 Jun 2017 16:16:45 +0200 Subject: [PATCH] =?UTF-8?q?dopln=C4=9Bn=C3=AD=20lokalizace=20v=C4=9Bc?= =?UTF-8?q?=C3=AD=20p=C5=99idan=C3=BDch=20v=20r=C3=A1mci=20#74?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/js/lib/KBManager.js | 22 +++++++++++----------- web/js/lib/MRManager.js | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/web/js/lib/KBManager.js b/web/js/lib/KBManager.js index 1674091..e58ed93 100644 --- a/web/js/lib/KBManager.js +++ b/web/js/lib/KBManager.js @@ -1,12 +1,12 @@ +/** + * Class KBManager + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @link http://github.com/kizi/easyminer-miningui + * + * @type Class + */ var KBManager = new Class({ - errorMessage: '', - FL: null, - FRManager: null, - KBid: 0, - settings: null, - tasks: {}, - // používané proměnné KBManager config: null, i18n: null, id: null, @@ -74,7 +74,7 @@ var KBManager = new Class({ this.isReloading = true; var url = this.config.getKnowledgeBaseGetRulesNamesUrl(this.id); - //region načtení pravidel ze serveru... + //region load rules from server new Request.JSON({ url: url, secure: true, @@ -105,7 +105,7 @@ var KBManager = new Class({ }.bind(this) }).get(); - //endregion + //endregion load rules from server } else if(this.rulesCount > 0){ this.compareNames(rules, type); } @@ -114,7 +114,7 @@ var KBManager = new Class({ deepAnalyze: function (rule, type) { var url = this.config.getKnowledgeBaseCompareRuleUrl(rule.$id, this.id); - //region analýzy pravidla na serveru... + //region deep analyze on server side new Request.JSON({ url: url, secure: true, @@ -148,7 +148,7 @@ var KBManager = new Class({ }.bind(this) }).get(); - //endregion + //endregion deep analyze on server side }, setId: function(id){ diff --git a/web/js/lib/MRManager.js b/web/js/lib/MRManager.js index dc973e0..f2039f6 100644 --- a/web/js/lib/MRManager.js +++ b/web/js/lib/MRManager.js @@ -367,6 +367,6 @@ var MRManager = new Class({ unmarkMarkedRule: function (foundRule) { this.getUnmarkRequest([foundRule],foundRule.getTaskId(),this.config.getRuleClipboardRemoveRuleUrl(foundRule.getTaskId(),foundRule.$id), false); } - /* regionend rules actions */ + /* endregion rules actions */ }); \ No newline at end of file