From aa906f81c3b47dbda060e71ce5d0a80d40ff5e14 Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Tue, 4 Aug 2015 00:53:20 +0100 Subject: [PATCH] fix https://github.com/FreeCodeCamp/freecodecamp/issues/1450 missing semi-colon and assert( --- seed/challenges/jquery-ajax-and-json.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/jquery-ajax-and-json.json b/seed/challenges/jquery-ajax-and-json.json index 92509ffade..d482a60f3f 100644 --- a/seed/challenges/jquery-ajax-and-json.json +++ b/seed/challenges/jquery-ajax-and-json.json @@ -160,8 +160,8 @@ "Make all the button element with the id \"target3\" fadeOut. $('#target3').addClass('animated fadeOut')." ], "tests": [ - "$('#target3').hasClass('animated') && $('#target3').hasClass('fadeOut'), 'Select the buttonelement with the id of \"target3\" and use the jQuery addClass() function to give it the classes of \"animated\" and \"fadeOut\".')", - "assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.')" + "assert($('#target3').hasClass('animated') && $('#target3').hasClass('fadeOut'), 'Select the buttonelement with the id of \"target3\" and use the jQuery addClass() function to give it the classes of \"animated\" and \"fadeOut\".');", + "assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.');" ], "challengeSeed": [ "fccss",