Clarify React class constructor comments
- The constructor is not always overridden by mocks. Makes viewing this constructor during debugging less confusing.
James Wen committed
Dec 23, 2015 at 12:58 UTC
6ff96441da1f71f78146859933536984db52dee6
1 file changed
+1
-1
src/isomorphic/classic/class/ReactClass.js
+1
-1
@@ -748,7 +748,7 @@ var ReactClass = {
748
*/
749
createClass: function(spec) {
750
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
752
// by mocks to assert on what gets mounted.
753
754
if (__DEV__) {