Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 15fab0c

Browse files
committed
Test is failing on IE11
1 parent 20efb23 commit 15fab0c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

seamless-immutable.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,12 +471,13 @@
471471
return makeImmutable(obj, mutatingObjectMethods);
472472
}
473473

474-
var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')) || 0xeac7;
474+
var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element')
475+
var REACT_ELEMENT_TYPE_FALLBACK = 0xeac7;
475476

476477
function isReactElement(obj) {
477478
return obj.hasOwnProperty &&
478479
obj.hasOwnProperty('$$typeof') &&
479-
obj.$$typeof === REACT_ELEMENT_TYPE;
480+
obj.$$typeof === REACT_ELEMENT_TYPE_FALLBACK || obj.$$typeof === REACT_ELEMENT_TYPE;
480481
}
481482

482483
function Immutable(obj, options) {

seamless-immutable.development.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)