Skip to content

Commit 0d53125

Browse files
committed
Merge pull request facebook#5725 from RochesterinNYC/patch-1
Clarify React class constructor comments
2 parents a0741ab + 6ff9644 commit 0d53125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isomorphic/classic/class/ReactClass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ var ReactClass = {
748748
*/
749749
createClass: function(spec) {
750750
var Constructor = function(props, context, updater) {
751-
// This constructor is overridden by mocks. The argument is used
751+
// This constructor gets overridden by mocks. The argument is used
752752
// by mocks to assert on what gets mounted.
753753

754754
if (__DEV__) {

0 commit comments

Comments
 (0)