From 759d387649af0236ce64c11cb876d6d00ec2a3d0 Mon Sep 17 00:00:00 2001 From: Mathieu M-Gosselin Date: Wed, 26 Jun 2013 16:24:51 -0400 Subject: [PATCH] Changed JSON data in the tutorial to use double quotes for strings. (cherry picked from commit 703c8251960d1ccc736cb6eca5c7254417fc9b44) --- docs/docs/tutorial.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index bc5b02c56c..021ff5057a 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -262,8 +262,8 @@ So far we've been inserting the comments directly in the source code. Instead, l ```javascript // tutorial8.js var data = [ - {author: 'Pete Hunt', text: 'This is one comment'}, - {author: 'Jordan Walke', text: 'This is *another* comment'} + {author: "Pete Hunt", text: "This is one comment"}, + {author: "Jordan Walke", text: "This is *another* comment"} ]; ``` @@ -357,8 +357,8 @@ When the component is first created, we want to GET some JSON from the server an ```javascript // tutorial13.json [ - {'author': 'Pete Hunt', 'text': 'This is one comment'}, - {'author': 'Jordan Walke', 'text': 'This is *another* comment'} + {"author": "Pete Hunt", "text": "This is one comment"}, + {"author": "Jordan Walke", "text": "This is *another* comment"} ] ```