From b74d5eb5289110a4fa6fb9ac5830b6f023fc82f1 Mon Sep 17 00:00:00 2001 From: Vitalis Wiens Date: Mon, 3 Jul 2017 10:49:12 +0200 Subject: [PATCH] fixed travis warnigns for type comparison --- src/app/js/app.js | 4 ++-- src/app/js/menu/searchMenu.js | 2 +- src/webvowl/js/elements/drawTools.js | 3 --- src/webvowl/js/elements/properties/BaseProperty.js | 7 +++++-- src/webvowl/js/graph.js | 1 - 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/js/app.js b/src/app/js/app.js index 7d49a658..e7474aff 100644 --- a/src/app/js/app.js +++ b/src/app/js/app.js @@ -70,7 +70,7 @@ module.exports = function () { d3.select("#logo").classed("hidden", true); } else { d3.select("#logo").classed("hidden", false); - if (agentVersion==12) { + if (agentVersion===12) { d3.select("#browserCheck").classed("hidden", false); d3.select("#killWarning").classed("hidden", false); } else { @@ -184,7 +184,7 @@ module.exports = function () { navigationMenu.updateVisibilityStatus(); // update also the padding options of loading and the logo positions; var warningDiv=d3.select("#browserCheck"); - if (warningDiv.classed("hidden")==false ) { + if (warningDiv.classed("hidden")===false ) { var offset=10+warningDiv.node().getBoundingClientRect().height; d3.select("#logo").style("padding", offset+"px 10px"); }else { diff --git a/src/app/js/menu/searchMenu.js b/src/app/js/menu/searchMenu.js index 976a27c5..b17846b5 100644 --- a/src/app/js/menu/searchMenu.js +++ b/src/app/js/menu/searchMenu.js @@ -106,7 +106,7 @@ module.exports = function (graph) { var allSame=true; // using simple for-loop since id list should be small for (var x=0;x