From 898edf585bb49644fa75db05068b35e2e191ebdb Mon Sep 17 00:00:00 2001 From: ido <idok@wix.com> Date: Wed, 10 Dec 2014 09:46:59 +0200 Subject: [PATCH] sample fix --- playground/samples/rt-if.code | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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