From c113c72082667a150a973c137510fb1d591d32e2 Mon Sep 17 00:00:00 2001 From: Rex Schrader Date: Sat, 20 Jun 2015 22:09:21 -0700 Subject: [PATCH 1/2] Fix missing semicolon in Symmetric Differences test The first test of Symmetric Differences is broken because it was missing a semicolon, making it impossible to pass. --- seed_data/challenges/advanced-bonfires.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/advanced-bonfires.json b/seed_data/challenges/advanced-bonfires.json index 027a573200..8d62e77f47 100644 --- a/seed_data/challenges/advanced-bonfires.json +++ b/seed_data/challenges/advanced-bonfires.json @@ -79,7 +79,7 @@ "sym([1, 2, 3], [5, 2, 1, 4]);" ], "tests": [ - "expect(sym([1, 2, 3], [5, 2, 1, 4])).to.eqls([3, 5, 4])", + "expect(sym([1, 2, 3], [5, 2, 1, 4])).to.eqls([3, 5, 4]);", "assert.deepEqual(sym([1, 2, 5], [2, 3, 5], [3, 4, 5]), [1, 4, 5], 'should return the symmetric difference of the given arrays');", "assert.deepEqual(sym([1, 1, 2, 5], [2, 2, 3, 5], [3, 4, 5, 5]), [1, 4, 5], 'should return an array of unique values');", "assert.deepEqual(sym([1, 1]), [1], 'should return an array of unique values');" From 9f1b6c58a5c630ba535f6dc8a411b5a89e2751ce Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Sat, 20 Jun 2015 23:16:45 -0700 Subject: [PATCH 2/2] fix /chat should go to gitter --- controllers/resources.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/controllers/resources.js b/controllers/resources.js index 0bf414954b..9101f82edf 100644 --- a/controllers/resources.js +++ b/controllers/resources.js @@ -231,13 +231,7 @@ module.exports = { }, chat: function chat(req, res) { - if (req.user && req.user.progressTimestamps.length > 5) { - res.redirect('http://freecodecamp.slack.com'); - } else { - res.render('resources/chat', { - title: 'Watch us code live on Twitch.tv' - }); - } + res.redirect('//gitter.im/FreeCodeCamp/FreeCodeCamp'); }, jobsForm: function jobsForm(req, res) {