Skip to content

Commit

Permalink
Remove choking hazard
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme committed Sep 9, 2014
1 parent 8044a28 commit 3c236aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makeComponentUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = function (React) {
function injectMixinAndAssimilatePrototype(spec) {
spec.mixins = spec.mixins || [];
spec.mixins.push(TrackInstancesMixin);
var Component = React.createClass(spec);
var Component = (React.createClass)(spec);
assimilatePrototype(Component.type.prototype);
return Component;
}
Expand Down Expand Up @@ -152,4 +152,4 @@ module.exports = function (React) {
updateClass: updateClass,
updateMountedInstances: updateMountedInstances
};
};
};

0 comments on commit 3c236aa

Please sign in to comment.