37 Commits

Author SHA1 Message Date
Stuart Taylor
4e645a5ff6 Package: Validate challenges on test (#17216)
This PR allows us to validate the schema during test.

It also removes some cruft from the seed files and ensures only the required data is packaged and consumable, reducing the package weight somewhat.
2018-05-22 18:13:14 +05:30
Stuart Taylor
ee66d84ccb feat(package): Initial Curriculum separation (#17174)
* feat(package): Initial Curriculum separation

* feat(package): Add org scope to package

* chore(ooops): Remove development file

* feat(npm): Add .npmignore

* fix(paths): Fix curriculum paths

* feat(build): Add a build step

* chore(seed): Move package file back to seed

* fix(ignore): Fix .npmIgnore file

* chore(docs): Update README

* chore(seed): Rename coding interview blocks

* fix(seed): Challenge files now fit into learn

* chore(seed): Update seed files for use in learn

* chore(escapes): Unescape script tags of jQuery
2018-05-21 19:26:49 +05:30
Alex Chaffee
52ca2b9ad6 feat(seed): reformat seed/challenges JSON via repack script 2018-04-03 19:53:44 +05:30
Quincy Larson
b02aafc9b6 fix(seed): Make algorithm projects appear after intermediate algorithms (#16655)
* fix(seed): Make algorithm projects appear after intermediate

* fix(seed): Update order values to remove ambiguity
2018-02-10 09:20:59 +00:00
Bhavesh S. Gupta
9091010c0c Put all lists in a single string 2017-02-28 14:56:26 +01:00
dhcodes
baf1d0cff8 Fix challenge title formatting misc 2017-02-27 08:47:23 -06:00
quentin
dd77bbc46d indexOf() instead of includes() 2017-02-20 15:42:50 -05:00
Joseph Livengood
2c5e7defef fix(challenge): Typo in "OOP: Use an IIFE to Create a Module" 2017-02-20 13:43:43 -05:00
Samuel Plumppu
d442285545 fix(challenge): Format constructor property in "OOP: Set Constructor" 2017-02-20 18:41:54 +01:00
Samuel Plumppu
15b1b0b7cc fix(challenge): Typo in "OOP: Use an IIFE to Create a Module" 2017-02-20 18:28:41 +01:00
Samuel Plumppu
29c00c8e73 fix(challenge): Typo in "OOP: Reset Inherited Constructor Property" 2017-02-20 17:59:07 +01:00
Quincy Larson
2709eb6b3a add releasedOn dates to all new challenges (#13417) 2017-02-19 00:00:12 +05:30
Rares Matei
602dd44941 Add missing semicolon at the end of example statement 2017-02-18 17:05:38 +00:00
Eric Leung
914e0e0ff7 Correct em dash in OOP challenge plus formatting 2017-02-13 02:43:20 -08:00
Peter Weinberg
edd7c93544 Merge pull request #13132 from Greenheart/fix/oop-all-props-stricter-tests
fix(challenge): Stricter tests for "OOP: Iterate Over All Properties"
2017-02-04 19:41:19 -05:00
Peter Weinberg
89d8454e16 Merge pull request #13131 from Greenheart/fix/oop-own-props-stricter-tests
fix(challenge): Stricter tests for "OOP: Understand Own Properties".
2017-02-04 19:25:25 -05:00
Peter Weinberg
85b773a834 Merge pull request #13123 from Greenheart/fix/oop-prototype-properties
fix(challenge): Format challengeSeed to encourage best practices.
2017-02-04 18:51:39 -05:00
Peter Weinberg
019c7a9294 Merge pull request #13129 from Greenheart/fix/oop-constructor-property
fix(challenge): Stricter tests for "OOP: Constructor property"
2017-02-04 18:12:18 -05:00
Peter Weinberg
2936eccee8 Merge pull request #13124 from Greenheart/fix/oop-dot-notation-log
fix(challenge): Accept more correct solutions for "OOP: Use dot notation"
2017-02-04 18:10:14 -05:00
Samuel Plumppu
fb85c0c4f5 fix(challenge): Stricter tests for "OOP: Constructor property"
* Also fixed an misleading sentence in the instruction.
2017-02-05 00:04:39 +01:00
Peter Weinberg
923505d5c3 Merge pull request #13141 from Greenheart/fix/oop-new-prototype-stricter-tests
fix(challenge): Stricter tests for "OOP: New Object Prototype".
2017-02-04 18:01:43 -05:00
Peter Weinberg
cb141c5d70 Merge pull request #13139 from Greenheart/fix/oop-add-solutions
fix(challenge): Add solutions for OOP-challenges.
2017-02-04 18:00:37 -05:00
Peter Weinberg
55edf18049 Merge pull request #13125 from Greenheart/fix/oop-instanceof
fix(challenge): Improve seed code for "OOP: Use instanceof"
2017-02-04 17:59:05 -05:00
Samuel Plumppu
88b792579f fix(challenge): Accept more correct solutions for "Use dot notation"
Now accepts either one or two `console.log()` expressions.
2017-02-04 23:08:59 +01:00
Samuel Plumppu
248b06b06a fix(challenge): Stricter tests for "OOP: New Object Prototype". 2017-02-04 19:36:04 +01:00
Samuel Plumppu
fff3c8d227 fix(challenge): Add solutions for OOP-challenges.
* Also fix tests that break when run outside of the browser environment.
2017-02-04 18:17:44 +01:00
Samuel Plumppu
c3648a7c9e fix(challenge): Stricter tests for "OOP: Iterate Over All Properties" 2017-02-04 14:29:27 +01:00
Samuel Plumppu
3242afa1c5 fix(challenge): Stricter tests for "OOP: Understand Own Properties". 2017-02-04 13:53:22 +01:00
Dylan
682cef18df Merge pull request #13126 from Greenheart/fix/oop-supertype-semicolons
fix(challenge): Add semicolons to "OOP: Inherit from a Supertype"
2017-02-03 22:22:40 -06:00
Samuel Plumppu
bdff255204 fix(challenge): small typo in "OOP: Use closure protection" 2017-02-04 03:07:05 +01:00
Samuel Plumppu
aabdbfaab9 fix(challenge): Add semicolons to "OOP: Inherit from a Supertype" 2017-02-04 03:03:38 +01:00
Samuel Plumppu
5d93771c0a fix(challenge): Improve seed code for "OOP: Use instanceof"
* Temporarily disable jshint to allow expressions resulting in dead code
* Update constructor declaration for consistency.
2017-02-04 02:44:50 +01:00
Samuel Plumppu
24a08c7190 fix(challenge): Format challengeSeed to encourage best practices.
* By re-formatting the seed a bit, I hope to help campers complete
their object definitions before they instantiate anything from them.
2017-02-04 00:54:22 +01:00
envy7
cd78eeae72 removed all empty translations present in the challenges in the seed files 2017-02-01 15:14:37 +05:30
padulam
46a04c1ec3 Update instructions for change the prototype challenge 2017-01-29 15:20:21 -05:00
Quincy Larson
33b778eed4 turn the "instructions" into an hr element 2017-01-22 15:22:26 -06:00
Quincy Larson
6f9fab3043 add new challenges 2017-01-19 15:25:07 -08:00