From 218f44e40b05eaac0de322d6f21390d6b993c2cf Mon Sep 17 00:00:00 2001 From: Em01 Date: Mon, 26 Oct 2015 23:58:48 +0000 Subject: [PATCH 1/3] Fixed typos in in JS Waypoints. Closes #3897 --- seed/challenges/basic-javascript.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index c41e05ab41..db91a37a6a 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -32,7 +32,7 @@ "description": [ "In computer science, data structures are things that hold data. JavaScript has seven of these. For example, the Number data structure holds numbers.", "Let's learn about the most basic data structure of all: the Boolean. Booleans can only hold the value of either true or false. They are basically little on-off switches.", - "Let's modify our welcomeToBooleansfunction so that it will return trueinstead of falsewhen the run button is clicked." + "Let's modify our welcomeToBooleans function so that it will return trueinstead of falsewhen the run button is clicked." ], "tests": [ "assert(typeof(welcomeToBooleans()) === 'boolean', 'message: The welcomeToBooleans() function should return a boolean (true/false) value.');", @@ -615,8 +615,8 @@ "id": "bg9997c9c69feddfaeb9bdef", "title": "Manipulate Arrays With unshift()", "description": [ - "Now that we've learned how to shiftthings from the start of the array, we need to learn how to unshiftstuff back to the start.", - "Let's take the code we had last time and unshiftthis value to the start: \"Paul\"." + "Now that we've learned how to shift things from the start of the array, we need to learn how to unshift stuff back to the start.", + "Let's take the code we had last time and unshift this value to the start: \"Paul\"." ], "tests": [ "assert((function(d){if(typeof(d[0]) === \"string\" && d[0].toLowerCase() == 'paul' && d[1] == 23 && d[2][0] != undefined && d[2][0] == 'dog' && d[2][1] != undefined && d[2][1] == 3){return true;}else{return false;}})(myArray), 'message: myArray should now have [\"Paul\", 23, [\"dog\", 3]]).');" From 72c52114f6f98aa94c791f5e5ecb6a00c479f2e2 Mon Sep 17 00:00:00 2001 From: Em01 Date: Tue, 27 Oct 2015 09:49:56 +0000 Subject: [PATCH 2/3] Fixed additional typos. --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index db91a37a6a..956faafd9b 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -32,7 +32,7 @@ "description": [ "In computer science, data structures are things that hold data. JavaScript has seven of these. For example, the Number data structure holds numbers.", "Let's learn about the most basic data structure of all: the Boolean. Booleans can only hold the value of either true or false. They are basically little on-off switches.", - "Let's modify our welcomeToBooleans function so that it will return trueinstead of falsewhen the run button is clicked." + "Let's modify our welcomeToBooleans function so that it will return true instead of false when the run button is clicked." ], "tests": [ "assert(typeof(welcomeToBooleans()) === 'boolean', 'message: The welcomeToBooleans() function should return a boolean (true/false) value.');", From daeaf34372c5f754e326432bfad29241ca46f1e9 Mon Sep 17 00:00:00 2001 From: Em01 Date: Tue, 27 Oct 2015 14:06:34 +0000 Subject: [PATCH 3/3] Fixed same issue in waypoint 4 --- seed/challenges/basic-javascript.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 956faafd9b..a71eace31b 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -84,7 +84,7 @@ "title": "Declare String Variables", "description": [ "In the previous challenge, we used the code var myName = \"your name\". This is what we call a String variable. It is nothing more than a \"string\" of characters. JavaScript strings are always wrapped in quotes.", - "Now let's create two new string variables: myFirstNameand myLastName and assign them the values of your first and last name, respectively." + "Now let's create two new string variables: myFirstName and myLastName and assign them the values of your first and last name, respectively." ], "tests": [ "assert((function(){if(typeof(myFirstName) !== \"undefined\" && typeof(myFirstName) === \"string\" && myFirstName.length > 0){return true;}else{return false;}})(), 'message: myFirstName should be a string with at least one character in it.');",