From 2308ce1eeba77ca77b2934bf0da7eeedd839de54 Mon Sep 17 00:00:00 2001 From: Steve Phillips Date: Tue, 10 Feb 2015 22:19:05 -0800 Subject: [PATCH 1/2] Check for Palindromes: Removed redundancy from description --- seed_data/bonfires.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index 72a783091b..7a0d6abde7 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -58,11 +58,10 @@ "name": "Check for Palindromes", "difficulty": "1.03", "description": [ - "Return 'true' if a given string is a palindrome.", + "Return true if the given string is a palindrome. Otherwise, return false." "A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.", "You'll need to remove punctuation and turn everything lower case in order to check for palindromes.", "We'll pass strings with varying formats, such as \"racecar\", \"RaceCar\", and \"race CAR\" among others.", - "Return true if the string is a palindrome. Otherwise, return false." ], "tests": [ "expect(palindrome(\"eye\")).to.be.a(\"boolean\");", From 5734ab3ddab8777ee4403d060e0e6100849a28bf Mon Sep 17 00:00:00 2001 From: Steve Phillips Date: Tue, 10 Feb 2015 22:22:43 -0800 Subject: [PATCH 2/2] meetBonfire: Added missing spaces to return line --- seed_data/bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index 7a0d6abde7..efce0f4fa9 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -13,7 +13,7 @@ "expect(meetBonfire(\"test\")).to.be.a(\"boolean\");", "expect(meetBonfire(\"test\")).to.be.true;" ], - "challengeSeed": "function meetBonfire(argument) {\n // Good luck!\n console.log(\"you can read this function's argument in the developer tools\", argument);\n\nreturn false;\n}\n\n", + "challengeSeed": "function meetBonfire(argument) {\n // Good luck!\n console.log(\"you can read this function's argument in the developer tools\", argument);\n\n return false;\n}\n\n", "challengeEntryPoint": "meetBonfire(\"You can do this!\");" }, {