ESlint eqeqeq

and require-jsdoc, no-negated-condition
This commit is contained in:
Peter Jaszkowiak
2017-02-18 14:36:16 -07:00
parent 144fa8698c
commit fdf4f873bf
5 changed files with 9 additions and 9 deletions

View File

@@ -133,7 +133,7 @@ define('admin/general/dashboard', ['semver', 'Chart', 'translator'], function (s
function lighten(col, amt) {
var usePound = false;
if (col[0] == '#') {
if (col[0] === '#') {
col = col.slice(1);
usePound = true;
}