From 054fe91b083d8d03d8784eff52a41454fb8d9513 Mon Sep 17 00:00:00 2001 From: Omar Date: Tue, 30 Aug 2016 17:23:24 -0400 Subject: [PATCH] second commit, forgot to add file that needed changing --- .../01-front-end-development-certification/jquery.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/jquery.json b/seed/challenges/01-front-end-development-certification/jquery.json index f05fa993846..79bd8306319 100644 --- a/seed/challenges/01-front-end-development-certification/jquery.json +++ b/seed/challenges/01-front-end-development-certification/jquery.json @@ -142,7 +142,8 @@ ], "tests": [ "assert($(\"button\").hasClass(\"animated\") && $(\"button\").hasClass(\"bounce\"), 'message: Use the jQuery addClass() function to give the classes animated and bounce to your button elements.');", - "assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these classes to the element.');" + "assert(!code.match(/class.*animated/g), 'message: Only use jQuery to add these classes to the element.');", + "assert(/'/g.test(code) === false , 'message: Only use double quotes in your jQuery code, as is stated in the jQuery style guide.');" ], "type": "waypoint", "challengeType": 0,