From deff9a92a9c21ddeff362493fa767d2611cd7c24 Mon Sep 17 00:00:00 2001 From: Bouncey Date: Sun, 7 Oct 2018 23:58:17 +0100 Subject: [PATCH] chore(git): Update .gitignores --- .gitignore | 4 ++- client/.gitignore | 4 +++ client/static/_redirects | 39 ---------------------------- client/static/js/frame-runner.js | 2 -- client/static/js/frame-runner.js.map | 1 - 5 files changed, 7 insertions(+), 43 deletions(-) delete mode 100644 client/static/_redirects delete mode 100644 client/static/js/frame-runner.js delete mode 100644 client/static/js/frame-runner.js.map diff --git a/.gitignore b/.gitignore index 29383ffcb6..85a9e340c6 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ node_modules curriculum/dist curriculum/curricula.json -client/static/js/frame-runner* \ No newline at end of file +client/static/js/frame-runner.js +client/static/js/frame-runner.js.map +client/static/_redirects \ No newline at end of file diff --git a/client/.gitignore b/client/.gitignore index 98c279d4c5..f444343507 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -8,3 +8,7 @@ config/env.json # Build directory /public .DS_Store + +./static/js/frame-runner.js +./static/js/frame-runner.js.map +./static/_redirects \ No newline at end of file diff --git a/client/static/_redirects b/client/static/_redirects deleted file mode 100644 index 06bb23de13..0000000000 --- a/client/static/_redirects +++ /dev/null @@ -1,39 +0,0 @@ -#api redirect - -/internal/* https://api.freecodecamp.org/internal/:splat - -# auth redirects -/signup /signin 301 -/email-signin /signin 301 -/login /signin 301 -/deprecated-signin /signin 301 -/logout /signout 301 -/passwordless-change /confirm-email 301 - -# certification redirects -/:username/front-end-certification /certification/:username/legacy-front-end 301 -/:username/data-visualization-certification /certification/:username/legacy-data-visualization 301 -/:username/back-end-certification /certification/:username/legacy-back-end 301 -/:username/full-stack-certification /certification/:username/full-stack 301 - -# unsunscribe redirects -/u/* https://api.freecodecamp.org/u/:splat -/unsunscribe/* https://api.freecodecamp.org/unsunscribe/:splat -/ue/* https://api.freecodecamp.org/ue/:splat - -# misc redirects -/agile / 200 -/chat https://gitter.im/FreeCodeCamp/FreeCodeCamp 301 -/twitch https://twitch.tv/freecodecamp 301 -/nonprofits-form / 200 -/pmi-acp-agile-project-managers / 200 -/pmi-acp-agile-project-managers-form / 200 -/stories / 200 -/all-stories / 200 -/field-guide/* https://forum.freecodecamp.org 301 -/learn-to-code /learn 200 -/map /learn 200 -/forum/* https://forum-proxy.freecodecamp.org 200 -/privacy https://www.freecodecamp.org/forum/t/free-code-camp-privacy-policy/19545 301 -/nonprofit-project-instructions http://www.freecodecamp.org/forum/t/how-free-code-camps-nonprofits-projects-work/19547 301 -/how-nonprofit-projects-work https://medium.freecodecamp.org/open-source-for-good-1a0ea9f32d5a 301 diff --git a/client/static/js/frame-runner.js b/client/static/js/frame-runner.js deleted file mode 100644 index 97ce041942..0000000000 --- a/client/static/js/frame-runner.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__);document.addEventListener("DOMContentLoaded",function(){var _document$__deps__$rx=document.__deps__.rx,timeout=_document$__deps__$rx.timeout,catchError=_document$__deps__$rx.catchError,map=_document$__deps__$rx.map,toArray=_document$__deps__$rx.toArray,switchMap=_document$__deps__$rx.switchMap,of=_document$__deps__$rx.of,from=_document$__deps__$rx.from,throwError=_document$__deps__$rx.throwError,frameReady=document.__frameReady,chai=parent.chai,source=document.__source,__getUserInput=document.__getUserInput||function(e){return e},checkChallengePayload=document.__checkChallengePayload,fiveSeconds=5e3;function isPromise(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var DeepEqual=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},DeepFreeze=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(r){!t.hasOwnProperty(r)||null===t[r]||"object"!==_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default()(t[r])&&"function"!=typeof t[r]||Object.isFrozen(t[r])||e(t[r])}),t};document.Enzyme&&(window.Enzyme=document.Enzyme),document.__runTests=function runTests(){var tests=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],code=source.slice(0),editor={getValue:function(){return source}},userCode=document.createElement("script");userCode.type="text/javascript",userCode.text=code,document.body.appendChild(userCode);var assert=chai.assert,getUserInput=__getUserInput,results=from(tests).pipe(switchMap(function runOneTest(_ref){var text=_ref.text,testString=_ref.testString,newTest={text:text,testString:testString},test,__result;try{test=eval(testString),"function"==typeof test&&(__result=test(getUserInput),isPromise(__result)&&(__result=from(__result))),__result&&"function"==typeof __result.subscribe||(__result=of(null))}catch(e){__result=throwError(e)}return __result.pipe(timeout(fiveSeconds),map(function(){return newTest.pass=!0,newTest}),catchError(function(e){var t=e.message,r=e.stack,n=t.slice(0)||"",o=n.indexOf(": expected");return-1!==o&&(n=n.slice(0,o)),n=n.replace(/(.*?)<\/code>/g,"$1"),newTest.err=n+"\n"+r,newTest.stack=r,newTest.message=n,of(newTest)}))}),toArray());return results},frameReady.next({checkChallengePayload:checkChallengePayload})})}]); -//# sourceMappingURL=frame-runner.js.map \ No newline at end of file diff --git a/client/static/js/frame-runner.js.map b/client/static/js/frame-runner.js.map deleted file mode 100644 index 8b290decf3..0000000000 --- a/client/static/js/frame-runner.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./src/client/frame-runner.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","_typeof2","obj","iterator","constructor","_typeof","document","addEventListener","_document$__deps__$rx","__deps__","rx","timeout","catchError","map","toArray","switchMap","of","from","throwError","frameReady","__frameReady","chai","parent","source","__source","__getUserInput","x","checkChallengePayload","__checkChallengePayload","fiveSeconds","isPromise","subscribe","then","DeepEqual","a","b","JSON","stringify","DeepFreeze","freeze","getOwnPropertyNames","forEach","prop","_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default","isFrozen","Enzyme","window","__runTests","runTests","tests","arguments","length","undefined","code","slice","editor","getValue","userCode","createElement","type","text","body","appendChild","assert","getUserInput","results","pipe","runOneTest","_ref","testString","newTest","test","__result","eval","e","pass","err","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Z,QAAQM,IAAMG,EAAa,KAAOD,EAClCR,QAAQQ,MAAQA,EAChBR,QAAQO,QAAUE,EAEX/D,GAAGsD,cAIhBxD,WAEF,OAAOmD,SAIT9C,WAAWgE,MAAOxD","file":"frame-runner.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","document.addEventListener('DOMContentLoaded', function() {\n const {\n timeout,\n catchError,\n map,\n toArray,\n switchMap,\n of,\n from,\n throwError\n } = document.__deps__.rx;\n const frameReady = document.__frameReady;\n const chai = parent.chai;\n const source = document.__source;\n const __getUserInput = document.__getUserInput || (x => x);\n const checkChallengePayload = document.__checkChallengePayload;\n\n const fiveSeconds = 5000;\n\n function isPromise(value) {\n return (\n value &&\n typeof value.subscribe !== 'function' &&\n typeof value.then === 'function'\n );\n }\n // Fake Deep Equal dependency\n /* eslint-disable no-unused-vars */\n const DeepEqual = (a, b) => JSON.stringify(a) === JSON.stringify(b);\n\n // Hardcode Deep Freeze dependency\n const DeepFreeze = o => {\n Object.freeze(o);\n Object.getOwnPropertyNames(o).forEach(function(prop) {\n if (\n o.hasOwnProperty(prop) &&\n o[prop] !== null &&\n (typeof o[prop] === 'object' || typeof o[prop] === 'function') &&\n !Object.isFrozen(o[prop])\n ) {\n DeepFreeze(o[prop]);\n }\n });\n return o;\n };\n\n if (document.Enzyme) {\n window.Enzyme = document.Enzyme;\n }\n\n document.__runTests = function runTests(tests = []) {\n /* eslint-disable no-unused-vars */\n const code = source.slice(0);\n const editor = {\n getValue() {\n return source;\n }\n };\n const userCode = document.createElement('script');\n userCode.type = 'text/javascript';\n userCode.text = code;\n document.body.appendChild(userCode);\n const assert = chai.assert;\n const getUserInput = __getUserInput;\n // Iterate through the test one at a time\n // on new stacks\n const results = from(tests).pipe(\n switchMap(function runOneTest({ text, testString }) {\n const newTest = { text, testString };\n let test;\n let __result;\n // uncomment the following line to inspect\n // the framerunner as it runs tests\n // make sure the dev tools console is open\n // debugger;\n try {\n /* eslint-disable no-eval */\n // eval test string to actual JavaScript\n // This return can be a function\n // i.e. function() { assert(true, 'happy coding'); }\n test = eval(testString);\n /* eslint-enable no-eval */\n if (typeof test === 'function') {\n // all async tests must return a promise or observable\n // sync tests can return Any type\n __result = test(getUserInput);\n if (isPromise(__result)) {\n // resolve the promise before continuing\n __result = from(__result);\n }\n }\n\n if (!__result || typeof __result.subscribe !== 'function') {\n // make sure result is an observable\n __result = of(null);\n }\n } catch (e) {\n __result = throwError(e);\n }\n return __result.pipe(\n timeout(fiveSeconds),\n map(() => {\n // if we are here, then the assert passed\n // mark test as passing\n newTest.pass = true;\n return newTest;\n }),\n catchError(err => {\n const { message, stack } = err;\n // we catch the error here to prevent the error from bubbling up\n // and collapsing the pipe\n let errMessage = message.slice(0) || '';\n const assertIndex = errMessage.indexOf(': expected');\n if (assertIndex !== -1) {\n errMessage = errMessage.slice(0, assertIndex);\n }\n errMessage = errMessage.replace(/(.*?)<\\/code>/g, '$1');\n newTest.err = errMessage + '\\n' + stack;\n newTest.stack = stack;\n newTest.message = errMessage;\n // RxJS catch expects an observable as a return\n return of(newTest);\n })\n );\n }),\n toArray()\n );\n return results;\n };\n\n // notify that the window methods are ready to run\n frameReady.next({ checkChallengePayload });\n});\n"],"sourceRoot":""} \ No newline at end of file