New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(seed): freeCodeCampify remaining sections of codebase #13055
chore(seed): freeCodeCampify remaining sections of codebase #13055
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@no-stack-dub-sack Thanks for the fix! Generally looking good, I'm just unsure about a few parts that might need to be lowercase either to pass tests, or to look nice as printed URL:s ^^
|
||
|
||
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -4057,7 +4057,7 @@ | |||
"The above outputs \"Hello\" to the console, returns \"World\", but <code>\"byebye\"</code> is never output, because the function exits at the <code>return</code> statement.", | |||
"<hr>", | |||
"Modify the function <code>abTest</code> so that if <code>a</code> or <code>b</code> are less than <code>0</code> the function will immediately exit with a value of <code>undefined</code>.", | |||
"<strong>Hint</strong><br>Remember that <a href='http://www.freecodecamp.com/challenges/understanding-uninitialized-variables' target='_blank'><code>undefined</code> is a keyword</a>, not a string." | |||
"<strong>Hint</strong><br>Remember that <a href='http://www.freeCodeCamp.com/challenges/understanding-uninitialized-variables' target='_blank'><code>undefined</code> is a keyword</a>, not a string." |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -234,7 +234,7 @@ | |||
"<code>route_path: '/user/:userId/book/:bookId'</code>", | |||
"<code>actual_request_URL: '/user/546/book/6754' </code>", | |||
"<code>req.params: {userId: '546', bookId: '6754'}</code>", | |||
"Build an echo server, mounted at the route GET /:word/echo. Respond with a json document, taking the structure {echo: <word>}. You can find the word to be repeated at req.params.word. You can test your route from your browser the address bar, visiting some matching routes, e.g. <your-app-rootpath>/freecodecamp/echo" | |||
"Build an echo server, mounted at the route GET /:word/echo. Respond with a json document, taking the structure {echo: <word>}. You can find the word to be repeated at req.params.word. You can test your route from your browser the address bar, visiting some matching routes, e.g. <your-app-rootpath>/freeCodeCamp/echo" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -97,7 +97,7 @@ | |||
"As you can see, this field is structured as an array of double-quoted strings.", | |||
"Instructions", | |||
"Add an array of suitable strings to the keywords-field in the package.json of your HyperDev project.", | |||
"One of the keywords should be freecodecamp." | |||
"One of the keywords should be freeCodeCamp." |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -110,8 +110,8 @@ | |||
"testString": "getUserInput => $.get(getUserInput('url') + '/_api/package.json').then(data => { var packJson = JSON.parse(data); assert.isArray(packJson.keywords, '\"keywords\" is not an array'); }, xhr => { throw new Error(xhr.responseText); })" | |||
}, | |||
{ | |||
"text": "\"keywords\" should include \"freecodecamp\"", | |||
"testString": "getUserInput => $.get(getUserInput('url') + '/_api/package.json').then(data => { var packJson = JSON.parse(data); assert.include(packJson.keywords, 'freecodecamp', '\"keywords\" does not include \"freecodecamp\"'); }, xhr => { throw new Error(xhr.responseText); })" | |||
"text": "\"keywords\" should include \"freeCodeCamp\"", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@@ -22,8 +22,8 @@ | |||
"text": "\"keywords\" field should be an Array", | |||
"testString": "getUserInput => ($.get(getUserInput('url') + '/_api/package.json').then(function(data){ var packJson = JSON.parse(data); assert.isArray(packJson.keywords); }, err => { throw new Error('Err: ' + err.statusText);}))" | |||
}, { | |||
"text": "\"keywords\" should include \"freecodecamp\"", | |||
"testString": "getUserInput => ($.get(getUserInput('url') + '/_api/package.json').then(function(data){ var packJson = JSON.parse(data); assert.include(packJson.keywords, 'freecodecamp'); }, err => { throw new Error('Err: ' + err.statusText); }))" | |||
"text": "\"keywords\" should include \"freeCodeCamp\"", |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
"text": "\"keywords\" should include \"freecodecamp\"", | ||
"testString": "getUserInput => $.get(getUserInput('url') + '/_api/package.json').then(data => { var packJson = JSON.parse(data); assert.include(packJson.keywords, 'freecodecamp', '\"keywords\" does not include \"freecodecamp\"'); }, xhr => { throw new Error(xhr.responseText); })" | ||
"text": "\"keywords\" should include \"freeCodeCamp\"", | ||
"testString": "getUserInput => $.get(getUserInput('url') + '/_api/package.json').then(data => { var packJson = JSON.parse(data); assert.include(packJson.keywords, 'freeCodeCamp', '\"keywords\" does not include \"freeCodeCamp\"'); }, xhr => { throw new Error(xhr.responseText); })" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
2303b04
to
07486be
Compare
@Greenheart Ok, check it out when you get the chance. Made requested changes! Off to node school for me 馃槃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yo gimme some space in the ISSUE_TEMPLATE bro!
|
||
|
||
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@Greenheart There's 3 new lines between the backticks, no? Not sure why there should be a white space left there? Is there a reason why code shouldn't start at the first character of the new line? |
@no-stack-dub-sack Sorry, I meant a space after the bullets like In GitHub markdown, there's a difference between using a space or not: +hello (
|
@Greenheart Sure, but this is between sets of ```, in which markdown is not interpreted:
so the only difference between leaving a trailing white space there would be this: assert(someSuperCoolCode === true, 'message...'); vs. assert(someSuperCoolCode === true, 'message...'); Just a white space 馃槃 I'll change if you'd like, I think perhaps I'm still missing the point though Edit: Although it does look like the new lines were removed after the screenshot section as well which def should be fixed |
@no-stack-dub-sack OH! Hahaha I interpreted the This is ready 馃槅 |
@Greenheart hahaha, I sensed there was a disconnect somewhere! Well, let me just fix the newlines after the screenshot section before you merge |
07486be
to
0b60d7d
Compare
@Greenheart Okie dokie, once travis is done doing his thing, we're good to go. Phwewf! Travis - who is that guy anyway? Always building things |
Pre-Submission Checklist
staging
branch of freeCodeCamp.fix/
,feature/
, ortranslate/
(e.g.fix/signin-issue
)npm test
. Usegit commit --amend
to amend any fixes.Type of Change
Checklist:
Description
This PR is a partial completion of issue #12472.
This mainly targets
seed
files, but I ran a search when I was finished with that directory and found a couple of nagging left over little buggers in other areas of the codebase, so I went ahead and fixed those as well.I've replaced every instance (visible to the user) of
Free Code Camp
,free code camp
,FreeCodeCamp
,freecodecamp
, andFREE CODE CAMP
with the much more highly desirablefreeCodeCamp
- except in irrelevant URLs not visible to the user or where required by challenges (ex. regex challenges include other cases in tests). I did hit some URLs (only the ones that we've changed, i.e. github, codepen), and, I even got the issue template!I did mention in #12472 that I did leave a few instances of
freecodecamp
in the Twitch challenge, because not sure how the API would interpret the case change. Also, our name has not yet been changed on Twitch, and we may have left that out of the change plan (looks like we're still FreeCodeCampin' over there! 馃槣 ).Anyway, one step closer to putting this issue to rest finally!