diff --git a/playground/samples/rt-if.code b/playground/samples/rt-if.code index b1e0c13..48e82bc 100644 --- a/playground/samples/rt-if.code +++ b/playground/samples/rt-if.code @@ -1,9 +1,8 @@ { - mixins: [React.addons.LinkedStateMixin], getInitialState: function () { - return {open:false}; + return {open: false}; }, toggle: function() { - this.setState({open:!this.state.open}); + this.setState({open: !this.state.open}); } } \ No newline at end of file