From ae6271964f59ebc47d6064983a216dbb15f5df85 Mon Sep 17 00:00:00 2001 From: ahstro Date: Fri, 21 Aug 2015 21:22:25 +0200 Subject: [PATCH 1/3] Moved myArray into 'Only change code'-block --- seed/challenges/basic-javascript.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index 87d00dbfbb..76ef3ce83a 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -432,9 +432,9 @@ "challengeSeed": [ "//var array = [\"John\", 23];", "", - "var myArray = [];", "// Only change code below this line.", "", + "var myArray = [];", "", "// Only change code above this line.", "// We use this function to show you the value of your variable in your output box.", @@ -457,9 +457,9 @@ ], "challengeSeed":[ "var ourArray = [[\"the universe\", \"everything\", 42]];", - "var myArray = [];", "// Only change code below this line.", "", + "var myArray = [];", "", "// Only change code above this line.", "// We use this function to show you the value of your variable in your output box.", From dd71ada0217a5198338b3fc04d8ffaaac9b55165 Mon Sep 17 00:00:00 2001 From: Jakob Dahl Date: Fri, 21 Aug 2015 22:06:04 +0200 Subject: [PATCH 2/3] 2431 changed wording on testresult --- seed/challenges/basic-bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-bonfires.json b/seed/challenges/basic-bonfires.json index f4349f7ca0..5ed1ce12ec 100644 --- a/seed/challenges/basic-bonfires.json +++ b/seed/challenges/basic-bonfires.json @@ -462,7 +462,7 @@ "tests": [ "assert.deepEqual(slasher([1, 2, 3], 2), [3], 'should drop the first two elements');", "assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements when n < 1');", - "assert.deepEqual(slasher([1, 2, 3], 9), [], 'should return an empty array when n >= array.length');" + "assert.deepEqual(slasher([1, 2, 3], 9), [], 'should return an empty array');" ], "MDNlinks": [ "Array.slice()", From 49fcdec9b7c356755c629150caddeb5d0a30ddd1 Mon Sep 17 00:00:00 2001 From: Jakob Dahl Date: Fri, 21 Aug 2015 22:54:03 +0200 Subject: [PATCH 3/3] 2431 reworded 2nd test --- seed/challenges/basic-bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/basic-bonfires.json b/seed/challenges/basic-bonfires.json index 5ed1ce12ec..539ce1d349 100644 --- a/seed/challenges/basic-bonfires.json +++ b/seed/challenges/basic-bonfires.json @@ -461,7 +461,7 @@ ], "tests": [ "assert.deepEqual(slasher([1, 2, 3], 2), [3], 'should drop the first two elements');", - "assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements when n < 1');", + "assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements');", "assert.deepEqual(slasher([1, 2, 3], 9), [], 'should return an empty array');" ], "MDNlinks": [