From b106e968648dc6980c159bf9c4954220415896df Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Wed, 21 Oct 2015 14:48:47 -0700 Subject: [PATCH] Fix lint for eslint 1.7 --- .../shared/event/eventPlugins/ResponderTouchHistoryStore.js | 2 +- .../shared/reconciler/__tests__/ReactEmptyComponent-test.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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({