From 6ff96441da1f71f78146859933536984db52dee6 Mon Sep 17 00:00:00 2001 From: James Wen Date: Wed, 23 Dec 2015 12:58:18 -0500 Subject: [PATCH] Clarify React class constructor comments - The constructor is not always overridden by mocks. Makes viewing this constructor during debugging less confusing. --- src/isomorphic/classic/class/ReactClass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isomorphic/classic/class/ReactClass.js b/src/isomorphic/classic/class/ReactClass.js index 632a30130739c..d2fa46b5566d7 100644 --- a/src/isomorphic/classic/class/ReactClass.js +++ b/src/isomorphic/classic/class/ReactClass.js @@ -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__) {