From 7c694c266635a2c595023f1b3665c53dd757887b Mon Sep 17 00:00:00 2001 From: Stuart Taylor Date: Fri, 25 May 2018 12:57:15 +0100 Subject: [PATCH] Fix/react versions (#17236) #### Pre-Submission Checklist - [x] Your pull request targets the `staging` branch of freeCodeCamp. - [x] Branch starts with either `fix/`, `feature/`, or `translate/` (e.g. `fix/signin-issue`) - [ ] You have only one commit (if not, [squash](http://forum.freecodecamp.org/t/how-to-squash-multiple-commits-into-one-with-git/13231) them into one commit). - [x] All new and existing tests pass the command `npm test`. Use `git commit --amend` to amend any fixes. #### Type of Change - [x] Small bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds new functionality) - [ ] Breaking change (fix or feature that would change existing functionality) - [ ] Add new translation (feature adding new translations) #### Checklist: - [x] Tested changes locally. - [x] Addressed currently open issue (replace XXXXX with an issue no in next line) Closes #17215 #### Description --- challenges/03-front-end-libraries/react-and-redux.json | 10 +++++----- challenges/03-front-end-libraries/react.json | 6 +++--- challenges/03-front-end-libraries/redux.json | 4 ++-- package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/challenges/03-front-end-libraries/react-and-redux.json b/challenges/03-front-end-libraries/react-and-redux.json index 791a22a032..55e0465c90 100644 --- a/challenges/03-front-end-libraries/react-and-redux.json +++ b/challenges/03-front-end-libraries/react-and-redux.json @@ -5,19 +5,19 @@ "helpRoom": "Help", "required": [ { - "src": "https://cdnjs.cloudflare.com/ajax/libs/react/16.1.1/umd/react.development.js" + "src":"https://unpkg.com/react@16.4.0/umd/react.production.min.js" }, { - "src": "https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.1.1/umd/react-dom.development.js" + "src":"https://unpkg.com/react-dom@16.4.0/umd/react-dom.production.min.js" }, { - "src": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.js" + "src": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.min.js" }, { - "src": "https://cdnjs.cloudflare.com/ajax/libs/react-redux/5.0.6/react-redux.js" + "src": "https://cdnjs.cloudflare.com/ajax/libs/react-redux/5.0.7/react-redux.min.js" } ], - "template": "
${ source }", + "template": "
${ source || '' }", "challenges": [ { "id": "5a24c314108439a4d4036141", diff --git a/challenges/03-front-end-libraries/react.json b/challenges/03-front-end-libraries/react.json index 310c4cdd11..2041950659 100644 --- a/challenges/03-front-end-libraries/react.json +++ b/challenges/03-front-end-libraries/react.json @@ -5,13 +5,13 @@ "helpRoom": "Help", "required": [ { - "src": "https://cdnjs.cloudflare.com/ajax/libs/react/15.4.1/react.js" + "src":"https://unpkg.com/react@16.4.0/umd/react.production.min.js" }, { - "src": "https://cdnjs.cloudflare.com/ajax/libs/react/15.4.1/react-dom.js" + "src":"https://unpkg.com/react-dom@16.4.0/umd/react-dom.production.min.js" } ], - "template": "
${ source }", + "template": "
${ source || '' }", "challenges": [ { "id": "587d7dbc367417b2b2512bb1", diff --git a/challenges/03-front-end-libraries/redux.json b/challenges/03-front-end-libraries/redux.json index faf1a4b4c0..bb9f214504 100644 --- a/challenges/03-front-end-libraries/redux.json +++ b/challenges/03-front-end-libraries/redux.json @@ -5,10 +5,10 @@ "helpRoom": "Help", "required": [ { - "src": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.js" + "src": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.7.2/redux.min.js" }, { - "src": "https://cdnjs.cloudflare.com/ajax/libs/redux-thunk/2.2.0/redux-thunk.js" + "src": "https://cdnjs.cloudflare.com/ajax/libs/redux-thunk/2.2.0/redux-thunk.min.js" } ], "challenges": [ diff --git a/package.json b/package.json index d958dc35f5..4c1d4aa738 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@freecodecamp/curriculum", - "version": "1.0.1", + "version": "1.0.2", "description": "freeCodeCamp's curriculum seed files", "main": "dist/index.js", "publishConfig": {