diff --git a/src/browser/server/ReactServerRendering.js b/src/browser/server/ReactServerRendering.js index 02482b17ab03a..670d7524129e8 100644 --- a/src/browser/server/ReactServerRendering.js +++ b/src/browser/server/ReactServerRendering.js @@ -23,7 +23,6 @@ var invariant = require('invariant'); /** * @param {ReactElement} element - * @param {?object} context * @return {string} the HTML markup */ function renderToString(element) { @@ -49,7 +48,6 @@ function renderToString(element) { /** * @param {ReactElement} element - * @param {?object} context * @return {string} the HTML markup, without the extra React ID and checksum * (for generating static pages) */ diff --git a/src/browser/ui/ReactDOMTextComponent.js b/src/browser/ui/ReactDOMTextComponent.js index e12ee2753a950..4999d750dbffe 100644 --- a/src/browser/ui/ReactDOMTextComponent.js +++ b/src/browser/ui/ReactDOMTextComponent.js @@ -43,7 +43,7 @@ var ReactDOMTextComponent = function(props) { assign(ReactDOMTextComponent.prototype, { /** - * @param {ReactText} node + * @param {ReactText} text * @internal */ construct: function(text) { diff --git a/src/browser/ui/__tests__/ReactDOMTextComponent-test.js b/src/browser/ui/__tests__/ReactDOMTextComponent-test.js index 269eb0ac6952e..37a1b9822b5bf 100644 --- a/src/browser/ui/__tests__/ReactDOMTextComponent-test.js +++ b/src/browser/ui/__tests__/ReactDOMTextComponent-test.js @@ -36,7 +36,7 @@ describe('ReactDOMTextComponent', function() { expect(foo.tagName).toBe('SPAN'); expect(bar.tagName).toBe('SPAN'); - var inst = React.render(
{'baz'}{'qux'}
, el); + inst = React.render(
{'baz'}{'qux'}
, el); // After the update, the spans should have stayed in place (as opposed to // getting unmounted and remounted) expect(inst.getDOMNode().children[0]).toBe(foo); diff --git a/src/browser/ui/dom/components/__tests__/ReactDOMSelect-test.js b/src/browser/ui/dom/components/__tests__/ReactDOMSelect-test.js index 7aca652a2f4a4..4f99f99bf9788 100644 --- a/src/browser/ui/dom/components/__tests__/ReactDOMSelect-test.js +++ b/src/browser/ui/dom/components/__tests__/ReactDOMSelect-test.js @@ -138,9 +138,7 @@ describe('ReactDOMSelect', function() { }); it('should reset child options selected when they are changed and `value` is set', function() { - var stub = - + var stub =