inline #isArrayUtil, remove jQuery

This commit is contained in:
Nick Krecklow
2020-05-11 04:25:30 -05:00
parent e8b530bbb8
commit 59ec7d151f
4 changed files with 20 additions and 24 deletions

View File

@ -120,21 +120,6 @@ export function formatNumber (x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')
}
export function isArrayEqual (a, b) {
if (typeof a === 'undefined' || typeof a !== typeof b) {
return false
}
if (a.length !== b.length) {
return false
}
for (let i = 0; i < a.length; i++) {
if (a[i] !== b[i]) {
return false
}
}
return true
}
// From http://detectmobilebrowsers.com/
export function isMobileBrowser () {
var check = false;