@samitouri / QOS-React-2 / commits / ac1c90e864

Tweak whitespace README to show other change

Ben Alpert committed Feb 13, 2014 at 19:01 UTC ac1c90e864a3d8de7f994e0cbbdf7645a51e89b6
1 file changed +3 -3
npm-jsx_whitespace_transform/README.md
+3 -3
@@ -7,7 +7,7 @@ Take this example block:
7 ```js
8 <div>
9 Monkeys:
10 - <input type="text" />
10 + <input type="text" /> <button />
11 </div>
12 ```
13
@@ -16,7 +16,7 @@ In 0.8 and below, this would be transformed to the following:
16 ```js
17 React.DOM.div(null,
18 " Monkeys: ",
19 - React.DOM.input( {type:"text"} )
19 + React.DOM.input( {type:"text"} ), React.DOM.button(null )
20 )
21 ```
22
@@ -25,7 +25,7 @@ In 0.9, this will instead be transformed the following:
25 ```js
26 React.DOM.div(null,
27 "Monkeys:",
28 - React.DOM.input( {type:"text"} )
28 + React.DOM.input( {type:"text"} ), " ", React.DOM.button(null )
29 )
30 ```
31