From: Tim Otten Date: Mon, 5 Jan 2015 21:53:32 +0000 (-0800) Subject: INFRA-132 - js/angular-crm-ui.js - Cleanup empty checks to satisfy jshint X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4109d03ede7a185bfd8b4b2a6a4eaa4303fbd5b7;p=civicrm-core.git INFRA-132 - js/angular-crm-ui.js - Cleanup empty checks to satisfy jshint --- diff --git a/js/angular-crm-ui.js b/js/angular-crm-ui.js index 858c537cab..14e703a04a 100644 --- a/js/angular-crm-ui.js +++ b/js/angular-crm-ui.js @@ -168,7 +168,7 @@ // immediately for initialization. Use retries/retryDelay to initialize such elements. var init = function (retries, retryDelay) { var input = $('#' + id); - if (input.length == 0) { + if (input.length === 0) { if (retries) { $timeout(function(){ init(retries-1, retryDelay); @@ -554,7 +554,7 @@ angular.forEach(steps, function(otherStep, otherKey) { if (otherStep === step) key = otherKey; }); - if (key != null) { + if (key !== null) { steps.splice(key, 1); } };