Merge pull request #5725 from RochesterinNYC/patch-1

Clarify React class constructor comments
This commit is contained in:
Paul O’Shannessy
2015-12-23 11:53:12 -08:00
+1 -1
View File
@@ -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__) {