Skip to content

Commit

Permalink
Merge pull request #75 from byte-fe/develop
Browse files Browse the repository at this point in the history
fix(compatible): remove module field to compatible with lower broswer
  • Loading branch information
leecade authored Mar 18, 2019
2 parents 2b57bcc + fc46b8d commit 7806980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "react-model",
"version": "2.5.1",
"version": "2.5.3",
"description": "The State management library for React",
"main": "./dist/react-model.js",
"module": "./dist/react-model.esm.js",
"umd:main": "./dist/react-model.umd.js",
"types": "./src/index",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/global.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
let State: any = {}
// Communicate between Provider-Consumer and Hooks
// Use to provide backwards-compatible.
let Setter: Setter = {
// classSetter stores the setState from Provider, invoke the classSetter.setState can update the state of Global Provider.
classSetter: undefined,
Expand Down

0 comments on commit 7806980

Please sign in to comment.