From 24a08c7190275b1f6bffe8fc4768fc98e417b932 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/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json b/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json index c091f47dd7..89cf4b291c 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json +++ b/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 +}