Permalink
Browse files

unbreak touching in prod mode

Reviewed By: ejanzer, bvaughn

Differential Revision: D5599808

fbshipit-source-id: bbc666c5a7e15323504100bdf3b04452e152fdb5
  • Loading branch information...
sophiebits authored and facebook-github-bot committed Aug 10, 2017
1 parent de4e51b commit 460c5dbdf95a6c9102199f21b381b59c547135c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 Libraries/Renderer/ReactNativeFiber-prod.js
@@ -3384,7 +3384,7 @@ function resetTouchRecord(touchRecord, touch) {
function getTouchIdentifier(_ref) {
var identifier = _ref.identifier;
return invariant(null != identifier, "Touch object is missing identifier."), warning$15(identifier <= MAX_TOUCH_BANK, "Touch identifier %s is greater than maximum supported %s which causes " + "performance issues backfilling array locations for all of the indices.", identifier, MAX_TOUCH_BANK),
return invariant(null != identifier, "Touch object is missing identifier."),
identifier;
}

0 comments on commit 460c5db

Please sign in to comment.