From d968524c69712aadc235e38f59fd26e2d7541090 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Wed, 15 Apr 2015 00:59:12 -0700 Subject: [PATCH 1/2] attempt to fix wording on seek and destroy bonfire issue #293 --- seed_data/bonfires.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed_data/bonfires.json b/seed_data/bonfires.json index 2a9a396b99..1af5203cd8 100644 --- a/seed_data/bonfires.json +++ b/seed_data/bonfires.json @@ -259,14 +259,14 @@ "name":"Seek and Destroy", "difficulty":"1.60", "description":[ - "Remove all values (last argument(s)) from an array (first argument) and return as a new array." + "You will be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments." ], "challengeSeed": "function destroyer(arr) {\n // Remove all the values\r\n return arr;\r\n}\n\ndestroyer([1, 2, 3, 1, 2, 3], 2, 3);", "tests": [ "assert.deepEqual(destroyer([1, 2, 3, 1, 2, 3], 2, 3), [1, 1], 'should remove correct values from an array');", "assert.deepEqual(destroyer([1, 2, 3, 5, 1, 2, 3], 2, 3), [1, 5, 1], 'should remove correct values from an array');" ], - "MDNlinks" : ["Array.filter()"] + "MDNlinks" : ["Arguments object","Array.filter()"] }, { "_id": "a24c1a4622e3c05097f71d67", From e9c13124f19c801cc0214dbf5e3232817b02b10e Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Tue, 21 Apr 2015 17:39:34 -0400 Subject: [PATCH 2/2] Remove mention of ng-lodash from universal-head --- views/partials/universal-head.jade | 1 - 1 file changed, 1 deletion(-) diff --git a/views/partials/universal-head.jade b/views/partials/universal-head.jade index 17ff9950d2..ad37165618 100644 --- a/views/partials/universal-head.jade +++ b/views/partials/universal-head.jade @@ -1,7 +1,6 @@ script(src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js") script(src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js") script(src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.12.0/ui-bootstrap-tpls.min.js") -script(src="/bower_components/ng-lodash/build/ng-lodash.js") include meta title #{title} | Free Code Camp meta(charset='utf-8')