Fix lint for eslint 1.7

This commit is contained in:
Ben Alpert
2015-10-21 14:48:47 -07:00
parent 7b97d8d58f
commit b106e96864
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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({