mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix lint for eslint 1.7
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user