Merge pull request #5236 from spicyj/eslint-17

Fix lint for eslint 1.7
This commit is contained in:
Paul O’Shannessy
2015-10-22 19:59:26 -07:00
2 changed files with 3 additions and 2 deletions
@@ -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({