Skip to content

Commit feab8b5

Browse files
author
Quincy Larson
committed
remove field guide cruft and update all field guide links to wiki
1 parent fd68501 commit feab8b5

24 files changed

Lines changed: 74 additions & 1718 deletions

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ With respect to the computer software contained in this repository:
1616
1717
# Curricular Content
1818

19-
With respect to the curricular content contained in this repository, as in the `./seed/challenges` and `./seed/field-guides` subdirectories:
19+
With respect to the curricular content contained in this repository, as in the `./seed/challenges` and subdirectory and our wiki:
2020

2121
> By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
2222
>

common/app/components/Nav/links.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
},{
88
"content": "News",
99
"link": "/news"
10-
},{
11-
"content": "Guide",
12-
"link": "/field-guide"
1310
},{
1411
"content": "Jobs",
1512
"link": "/jobs"

common/models/field-guide.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

common/models/user.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,6 @@
162162
],
163163
"default": []
164164
},
165-
"completedFieldGuides": {
166-
"type": "array",
167-
"default": []
168-
},
169-
"uncompletedFieldGuides": {
170-
"type": "array",
171-
"default": []
172-
},
173165
"currentStreak": {
174166
"type": "number",
175167
"default": 0

public/js/main_0.0.3.js

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -114,28 +114,6 @@ $(document).ready(function() {
114114
}
115115
});
116116

117-
function completedFieldGuide(fieldGuideId) {
118-
if ($('.signup-btn-nav').length < 1) {
119-
$.post(
120-
'/completed-field-guide',
121-
{
122-
fieldGuideInfo: {
123-
fieldGuideId: fieldGuideId
124-
}
125-
},
126-
function(res) {
127-
if (res) {
128-
window.location.href = '/field-guide'
129-
}
130-
});
131-
}
132-
}
133-
134-
$('.next-field-guide-button').on('click', function() {
135-
var fieldGuideId = $('#fieldGuideId').text();
136-
completedFieldGuide(fieldGuideId);
137-
});
138-
139117
$("img").error(function () {
140118
$(this).unbind("error").attr("src", "https://s3.amazonaws.com/freecodecamp/camper-image-placeholder.png");
141119
});

seed/challenges/advanced-bonfires.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"The user may fill out the form field any way they choose as long as it is a valid US number. The following are all valid formats for US numbers:",
1313
"555-555-5555, (555)555-5555, (555) 555-5555, 555 555 5555, 5555555555, 1 555 555 5555",
1414
"For this challenge you will be presented with a string such as \"800-692-7753\" or \"8oo-six427676;laskdjf\". Your job is to validate or reject the US phone number based on any combination of the formats provided above. The area code is required. If the country code is provided, you must confirm that the country code is \"1\". Return true if the string is a valid US phone number; otherwise false.",
15-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
15+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
1616
],
1717
"tests": [
1818
"expect(telephoneCheck(\"555-555-5555\")).to.be.a(\"boolean\");",
@@ -71,7 +71,7 @@
7171
"description": [
7272
"Create a function that takes two or more arrays and returns an array of the symmetric difference of the provided arrays.",
7373
"The mathematical term symmetric difference refers to the elements in two sets that are in either the first or second set, but not in both.",
74-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
74+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
7575
],
7676
"challengeSeed": [
7777
"function sym(args) {",
@@ -112,7 +112,7 @@
112112
"cid is a 2d array listing available currency.",
113113
"Return the string \"Insufficient Funds\" if cash-in-drawer is less than the change due. Return the string \"Closed\" if cash-in-drawer is equal to the change due.",
114114
"Otherwise, return change in coin and bills, sorted in highest to lowest order.",
115-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
115+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
116116
],
117117
"challengeSeed": [
118118
"function drawer(price, cash, cid) {",
@@ -165,7 +165,7 @@
165165
"difficulty": "4.04",
166166
"description": [
167167
"Compare and update inventory stored in a 2d array against a second 2d array of a fresh delivery. Update current inventory item quantity, and if an item cannot be found, add the new item and quantity into the inventory array in alphabetical order.",
168-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
168+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
169169
],
170170
"challengeSeed": [
171171
"function inventory(arr1, arr2) {",
@@ -221,7 +221,7 @@
221221
"description": [
222222
"Return the number of total permutations of the provided string that don't have repeated consecutive letters.",
223223
"For example, 'aab' should return 2 because it has 6 total permutations, but only 2 of them don't have the same letter (in this case 'a') repeating.",
224-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
224+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
225225
],
226226
"challengeSeed": [
227227
"function permAlone(str) {",
@@ -266,7 +266,7 @@
266266
"For example, if the year and month are the same then only the day range should be displayed.",
267267
"Secondly, if the starting year is the current year, and the ending year can be inferred by the reader, the year should be omitted.",
268268
"Input date is formatted as YYYY-MM-DD",
269-
"Remember to use <a href='/field-guide/how-do-i-get-help-when-I-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
269+
"Remember to use <a href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck' target='_blank'>RSAP</a> if you get stuck. Try to pair program. Write your own code."
270270
],
271271
"challengeSeed": [
272272
"function friendly(str) {",

0 commit comments

Comments
 (0)