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:
parent
be3903d2eb
commit
924884dfd0
9 changed files with 9 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue