Skip to content

Commit

Permalink
Merge branch 'main' into forceupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
urugator committed Jun 20, 2021
2 parents c19692a + c6dc925 commit f28c7e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/witty-bananas-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"mobx": patch
---

Remove duplicate global property check
2 changes: 1 addition & 1 deletion packages/mobx/src/mobx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import { die } from "./errors"
import { getGlobal } from "./utils/global"
;["Symbol", "Map", "Set", "Symbol"].forEach(m => {
;["Symbol", "Map", "Set"].forEach(m => {
let g = getGlobal()
if (typeof g[m] === "undefined") {
die(`MobX requires global '${m}' to be available or polyfilled`)
Expand Down

0 comments on commit f28c7e4

Please sign in to comment.