Commit Graph

187 Commits

Author SHA1 Message Date
Berkeley Martinez
574709159d Fix use the document as the proxy for jquery
We proxy the jquery object. This lets us use the jQuery that FCC
uses in the iframe.

Since jQuery sets the context, the main document object or DOM, at script
load, we need to create a proxy with the context of the iframe,
the document object of the iframe.

This was originally set to the body element. But not all challenges
require a body element.
2015-11-30 21:48:28 -08:00
Arsen Melikyan
1543d2b745 Fix challengeTypes object incorrect key names 2015-11-30 18:59:29 +04:00
Berkeley Martinez
0275351490 Increase updatePreview delay 2015-11-29 16:28:32 -08:00
Berkeley Martinez
28e4252a00 Fix errors breaking pipe 2015-11-29 16:28:32 -08:00
Berkeley Martinez
7592131e08 Tell jquery not to execute when getting script 2015-11-29 16:28:32 -08:00
Berkeley Martinez
da67e77fad Fix error logic and output display 2015-11-29 16:28:32 -08:00
Berkeley Martinez
04db6744b9 Fix code output logic
Fix codemirror url paths
2015-11-29 16:28:32 -08:00
Berkeley Martinez
8c261180d3 Fix incorrect logic 2015-11-29 16:28:32 -08:00
Berkeley Martinez
2610573871 Bind to keyup events if editor is present 2015-11-29 16:28:32 -08:00
Berkeley Martinez
ce37991c50 Remove console.logs 2015-11-29 16:28:32 -08:00
Berkeley Martinez
eec7fff909 Fix jQuery challenges 2015-11-29 16:28:32 -08:00
Berkeley Martinez
159b202940 Update preview on keystroke
Also removes need to check for unfinished html comments
2015-11-29 16:28:32 -08:00
Berkeley Martinez
e8d9e31a47 Fix bad ctrl enter logic 2015-11-29 16:28:32 -08:00
Berkeley Martinez
f9bdc32474 Fix editor in iFrame should be the code
This should be changed
2015-11-29 16:28:32 -08:00
Berkeley Martinez
6638412cc3 Preview tests now run correctly
Pulling jQuery from the parent frame
2015-11-29 16:28:32 -08:00
Berkeley Martinez
5a785dbad7 Load iFrame on page load 2015-11-29 16:28:32 -08:00
Berkeley Martinez
6f98f62dd9 Add delay to initial execute 2015-11-29 16:28:32 -08:00
Berkeley Martinez
d2be64cfb5 Add err handling to test run 2015-11-29 16:28:32 -08:00
Berkeley Martinez
83ad2e14eb Save to localStorage/uri on editor key debounce 2015-11-29 16:28:32 -08:00
Berkeley Martinez
fe659b20f4 Submit show completion 2015-11-29 16:28:32 -08:00
Berkeley Martinez
7593dc4e1b Properly display tests 2015-11-29 16:28:32 -08:00
Berkeley Martinez
74fa49cd75 Reset and execute update display and storage 2015-11-29 16:27:14 -08:00
Berkeley Martinez
4bdf1b2854 Add gulp build of commonFramework 2015-11-29 16:27:14 -08:00
Berkeley Martinez
29f90505b7 More refactoring 2015-11-29 16:27:14 -08:00
Berkeley Martinez
748f7ab93f Progress towards refactoring 2015-11-29 16:21:04 -08:00
Berkeley Martinez
87fa38182e bundle vendor files 2015-11-29 16:20:17 -08:00
Matthias Kern
d872829f06 Fix the sliding in/out issues closes #4721 2015-11-27 13:32:18 +02:00
Berkeley Martinez
82dc1cf3b5 Merge pull request #4579 from ltegman/fix/update-react-bootstrap
Update to react-bootstrap 0.28.1 and widen react nav
2015-11-20 10:57:51 -08:00
Quincy Larson
66d384c4c9 Improve look of links page 2015-11-20 01:25:49 -06:00
Logan Tegman
3a9745974c Update to react-bootstrap 0.28.1 and widen react nav
+ Moved away from deprecated navbar components and props
+ Removed mixin from NavItem
+ Updated stylesheet so the `.container` react-bootstrap adds doesn't impact nav positioning
2015-11-19 23:09:30 -08:00
Quincy Larson
9d08c1702e update navbar, remove footer, create links page 2015-11-19 22:46:36 -08:00
SaintPeter
86e4165c4c Step Challenge - Prev from end, x/y step display 2015-11-16 21:57:35 -08:00
Quincy Larson
debfb07ab8 Merge branch 'staging' of https://github.com/freecodecamp/freecodecamp into staging 2015-11-13 17:15:23 -08:00
Quincy Larson
0695860434 improve styling of completed challenges table 2015-11-13 17:08:51 -08:00
Quincy Larson
61ffb55a3d Merge branch 'staging' into fix/update-labs
Conflicts:
	common/app/routes/Jobs/components/Jobs.jsx
2015-11-12 16:38:30 -08:00
Quincy Larson
3dcc77278b add testimonial to jobs and remove twitter button 2015-11-12 16:36:08 -08:00
Berkeley Martinez
9ca11ebed2 Hotfix ignore bonfireExecute on basejump challenges 2015-11-08 20:12:56 -08:00
Berkeley Martinez
8fe3a075bf Hotfix fix basejump-zipline completion 2015-11-08 20:05:12 -08:00
Logan Tegman
2667b574bf Fixes small bugs
+ With MDNLinks and bonfireExecute being run on step challenges.
+ Return when common isn't loaded in reBindModals instead of throwing.
2015-11-07 13:00:44 -08:00
Berkeley Martinez
2ed6143c68 Add type safety to arrayToNewLineString 2015-11-06 17:53:06 -08:00
Berkeley Martinez
a57d288aa7 Rename arrayToNewLineString
because naming things is hard
2015-11-06 17:51:04 -08:00
Berkeley Martinez
328e75812a Fix lint issues with gist saving 2015-11-06 17:48:17 -08:00
Berkeley Martinez
5dbfbfcf57 Add head/tail to challenge spec.
Lint EVERYTHING!
2015-11-06 17:32:01 -08:00
Logan Tegman
5b4eafe751 Merge pull request #3995 from bugron/feature/save-bonfire-solution-as-github-gist
Save bonfire's solution as a GitHub gist
2015-11-06 17:21:01 -08:00
Berkeley Martinez
696c038a26 Merge pull request #4168 from ltegman/fix/code-editor-spamming-browser-history-4167
Fix Code Editor Changes Creating Duplicate History Entries
2015-11-05 17:28:13 -08:00
Berkeley Martinez
325e121d4e Merge branch 'feature/find-posted-news-by-username' of https://github.com/bugron/FreeCodeCamp into bugron-feature/find-posted-news-by-username 2015-11-05 16:46:29 -08:00
Berkeley Martinez
8f3c3e3972 Fix most lint issues 2015-11-04 12:37:25 -08:00
Logan Tegman
c38841c5af Fix Code Editor Changes Creating Duplicate History Entries
Closes #4167
2015-11-04 11:04:54 -08:00
Arsen Melikyan
8a5e12f6f3 find users news by typing their usernames in search box and fix FF CSS issue 2015-11-04 22:28:13 +04:00
Arsen Melikyan
bf40338719 improve gist's title 2015-11-04 15:49:08 +04:00