From 40bfcf55b110c46e18011678c7ca83704068a1eb Mon Sep 17 00:00:00 2001 From: LianaHus Date: Fri, 24 Apr 2020 23:52:59 +0200 Subject: [PATCH] standart --- .../tabs/staticanalysis/staticAnalysisView.js | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/app/tabs/staticanalysis/staticAnalysisView.js b/src/app/tabs/staticanalysis/staticAnalysisView.js index c14b0c8530..2b4d166c35 100644 --- a/src/app/tabs/staticanalysis/staticAnalysisView.js +++ b/src/app/tabs/staticanalysis/staticAnalysisView.js @@ -155,7 +155,7 @@ staticAnalysisView.prototype.checkModule = function (event) { } staticAnalysisView.prototype.correctRunBtnDisabled = function () { const selected = this.view.querySelectorAll('[name="staticanalysismodule"]:checked') - if (this.lastCompilationResult && selected.length != 0) { + if (this.lastCompilationResult && selected.length !== 0) { this.runBtn.removeAttribute('disabled') } else { this.runBtn.setAttribute('disabled', 'disabled') @@ -174,42 +174,42 @@ staticAnalysisView.prototype.checkAll = function (event) { staticAnalysisView.prototype.renderModules = function () { const groupedModules = utils.groupBy(preProcessModules(this.runner.modules()), 'categoryId') const moduleEntries = Object.keys(groupedModules).map((categoryId, i) => { - const category = groupedModules[categoryId] - const entriesDom = category.map((item, i) => { + const category = groupedModules[categoryId] + const entriesDom = category.map((item, i) => { + return yo` +
+ + +
+ ` + }) return yo` -
- - -
+
+ + +
+ ${entriesDom} +
+ ` }) return yo` -
- - -
- ${entriesDom} -
- - ` - }) -return yo` -
- ${moduleEntries} -
` +
+ ${moduleEntries} +
` } module.exports = staticAnalysisView