From 29f6cd75b2573a3b57864632cf75b8d0c6b74c73 Mon Sep 17 00:00:00 2001 From: Samuel Plumppu Date: Sat, 4 Feb 2017 00:51:03 +0100 Subject: [PATCH] fix(challenge): Format challengeSeed to encourage best practices. * By re-formatting the seed a bit, I hope to help campers complete their object definitions before they instantiate anything from them. --- .../object-oriented-programming.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json index c091f47dd7..89cf4b291c 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json @@ -346,11 +346,10 @@ " this.name = name;", "}", "", - "let beagle = new Dog(\"Snoopy\");", - "// Add your code below this line", "", "", - "" + "// Add your code above this line", + "let beagle = new Dog(\"Snoopy\");" ], "tests": [ "assert(beagle.numLegs !== undefined, 'message: beagle should have a numLegs property.');", @@ -992,4 +991,4 @@ "translations": {} } ] -} \ No newline at end of file +}