1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-18 00:19:50 +01:00

Added eqeqeq eslint rule (2)

This commit is contained in:
Max Guglielmi 2016-05-15 13:40:32 +10:00
commit 924884dfd0
9 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@
import Str from './string';
export default {
has: function (arr, val, caseSensitive) {
has(arr, val, caseSensitive) {
let sCase = Boolean(caseSensitive);
for (var i = 0, l = arr.length; i < l; i++) {
if (Str.matchCase(arr[i].toString(), sCase) === val) {