diff --git a/src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js b/src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js index 973a856f4e..874b50ff78 100644 --- a/src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js +++ b/src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js @@ -37,7 +37,7 @@ var MAX_TOUCH_BANK = 20; * } */ var touchHistory = { - touchBank: [ ], + touchBank: [], numberActiveTouches: 0, // If there is only one active touch, we remember its location. This prevents // us having to loop through all of the touches all the time in the most diff --git a/src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js b/src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js index c104f9eaf6..8f5102dcf6 100644 --- a/src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js +++ b/src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js @@ -135,7 +135,8 @@ describe('ReactEmptyComponent', function() { ); it('should have getDOMNode return null when multiple layers of composite ' + - 'components render to the same null placeholder', () => { + 'components render to the same null placeholder', + () => { spyOn(console, 'log'); var GrandChild = React.createClass({