Fix lint for eslint 1.7
Ben Alpert committed
Oct 21, 2015 at 14:48 UTC
b106e968648dc6980c159bf9c4954220415896df
2 files changed
+3
-2
src/renderers/shared/event/eventPlugins/ResponderTouchHistoryStore.js
+1
-1
@@ -37,7 +37,7 @@ var MAX_TOUCH_BANK = 20;
37
* }
38
*/
39
var touchHistory = {
40
- touchBank: [ ],
40
+ touchBank: [],
41
numberActiveTouches: 0,
42
// If there is only one active touch, we remember its location. This prevents
43
// us having to loop through all of the touches all the time in the most
src/renderers/shared/reconciler/__tests__/ReactEmptyComponent-test.js
+2
-1
@@ -135,7 +135,8 @@ describe('ReactEmptyComponent', function() {
135
);
136
137
it('should have getDOMNode return null when multiple layers of composite ' +
138
- 'components render to the same null placeholder', () => {
138
+ 'components render to the same null placeholder',
139
+ () => {
140
spyOn(console, 'log');
141
142
var GrandChild = React.createClass({