The library for web and native user interfaces.
Changed JSON data in the tutorial to use double quotes for strings.
Mathieu M-Gosselin committed
Jun 26, 2013 at 16:24 UTC
703c8251960d1ccc736cb6eca5c7254417fc9b44
1 file changed
+4
-4
docs/docs/tutorial.md
+4
-4
@@ -262,8 +262,8 @@ So far we've been inserting the comments directly in the source code. Instead, l
262
```javascript
263
// tutorial8.js
264
var data = [
265
- {author: 'Pete Hunt', text: 'This is one comment'},
266
- {author: 'Jordan Walke', text: 'This is *another* comment'}
265
+ {author: "Pete Hunt", text: "This is one comment"},
266
+ {author: "Jordan Walke", text: "This is *another* comment"}
267
];
268
```
269
@@ -357,8 +357,8 @@ When the component is first created, we want to GET some JSON from the server an
357
```javascript
358
// tutorial13.json
359
[
360
- {'author': 'Pete Hunt', 'text': 'This is one comment'},
361
- {'author': 'Jordan Walke', 'text': 'This is *another* comment'}
360
+ {"author": "Pete Hunt", "text": "This is one comment"},
361
+ {"author": "Jordan Walke", "text": "This is *another* comment"}
362
]
363
```
364