Fixes for IE11, wrt to instance methods

This commit is contained in:
Josh Ponelat
2017-06-19 18:29:45 +02:00
parent 4a6716ffed
commit 0e4d04650d
3 changed files with 3 additions and 7 deletions

View File

@@ -418,11 +418,6 @@ export function pascalCaseFilename(filename) {
return pascalCase(filename.replace(/\.[^./]*$/, ""))
}
// Only compare a set of props
export function shallowEqualKeys(a,b, keys) {
return !!keys.find(key => !shallowEqual(a[key], b[key]))
}
// Check if ...
// - new props
// - If immutable, use .is()