Skip to content

Commit

Permalink
Merge pull request facebook#5725 from RochesterinNYC/patch-1
Browse files Browse the repository at this point in the history
Clarify React class constructor comments
  • Loading branch information
zpao committed Dec 23, 2015
2 parents a0741ab + 6ff9644 commit 0d53125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isomorphic/classic/class/ReactClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ var ReactClass = {
*/
createClass: function(spec) {
var Constructor = function(props, context, updater) {
// This constructor is overridden by mocks. The argument is used
// This constructor gets overridden by mocks. The argument is used
// by mocks to assert on what gets mounted.

if (__DEV__) {
Expand Down

0 comments on commit 0d53125

Please sign in to comment.