v1.0 with SW PWA enabled
This commit is contained in:
14
frontend/node_modules/recharts/es6/util/ShallowEqual.js
generated
vendored
Normal file
14
frontend/node_modules/recharts/es6/util/ShallowEqual.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export function shallowEqual(a, b) {
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
for (var key in a) {
|
||||
if ({}.hasOwnProperty.call(a, key) && (!{}.hasOwnProperty.call(b, key) || a[key] !== b[key])) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
for (var _key in b) {
|
||||
if ({}.hasOwnProperty.call(b, _key) && !{}.hasOwnProperty.call(a, _key)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user