remove frontend diffing behavior since the protocol does this now

This commit is contained in:
Nick Krecklow
2020-04-29 04:09:22 -05:00
parent 0e19904c39
commit 7d47e9b5f8
2 changed files with 5 additions and 25 deletions

View File

@ -135,20 +135,6 @@ export function isArrayEqual (a, b) {
return true
}
export function isObjectEqual (a, b, props) {
if (typeof a === 'undefined' || typeof a !== typeof b) {
return false
}
for (let i = 0; i < props.length; i++) {
const prop = props[i]
if (typeof a[prop] === 'undefined' || typeof a[prop] !== typeof b[prop] || a[prop] !== b[prop]) {
return false
}
}
return true
}
// From http://detectmobilebrowsers.com/
export function isMobileBrowser () {
var check = false;