@samitouri / QOS-React / commits / 2d069fc5e6

Fix typo

Resets currentTarget on the pooled event instead of adding an expando.

Sebastian Markbage committed Apr 5, 2016 at 13:40 UTC 2d069fc5e6774b37ea4fb71ec220cefd7334bee0
1 file changed +1 -1
src/renderers/shared/event/EventPluginUtils.js
+1 -1
@@ -206,7 +206,7 @@ function executeDirectDispatch(event) {
206 );
207 event.currentTarget = EventPluginUtils.getNodeFromInstance(dispatchInstance);
208 var res = dispatchListener ? dispatchListener(event) : null;
209 - event.curentTarget = null;
209 + event.currentTarget = null;
210 event._dispatchListeners = null;
211 event._dispatchInstances = null;
212 return res;