docs classSet semicolons missing
Cheng Lou committed
Nov 18, 2013 at 21:22 UTC
ce0eec97db5d3c09f98acfed99d6a8ba9b5bd0e9
1 file changed
+3
-3
docs/docs/09.3-class-name-manipulation.md
+3
-3
@@ -22,7 +22,7 @@ render: function() {
22
classString += ' message-read';
23
}
24
// 'message message-important message-read'
25
- return <div className={classString}>Great, I'll be there.</div>
25
+ return <div className={classString}>Great, I'll be there.</div>;
26
}
27
```
28
@@ -35,9 +35,9 @@ render: function() {
35
'message': true,
36
'message-important': this.props.isImportant,
37
'message-read': this.props.isRead
38
- })
38
+ });
39
// same final string, but much cleaner
40
- return <div className={classes}>Great, I'll be there.</div>
40
+ return <div className={classes}>Great, I'll be there.</div>;
41
}
42
```
43