Skip to content

Commit

Permalink
Merge pull request #120 from whatknight/react16
Browse files Browse the repository at this point in the history
support react 16.
  • Loading branch information
contra committed Oct 2, 2017
2 parents 44c86d4 + 6b300d7 commit 5042c3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"github-changes": "^1.0.4",
"jsdom": "^11.2.0",
"mocha": "^3.5.3",
"react": "^15.0.1",
"react-dom": "^0.14.0 || ^15.0.0",
"react": "^16.0.0",
"react-dom": "^0.14.0 || ^16.0.0",
"should": "^13.0.1",
"sinon": "^4.0.0",
"webpack": "^3.5.6",
Expand Down
4 changes: 4 additions & 0 deletions test/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ global.self = global.window
global.navigator = global.window.navigator

global.window.matchMedia = matchMedia

global.requestAnimationFrame = function (callback) {
setTimeout(callback, 0)
}

0 comments on commit 5042c3e

Please sign in to comment.