See https://docs.google.com/a/khanacademy.org/spreadsheets/d/1wCONrsK1ujRCLal7bcxS0cVkfpfKiPzapt3SsMJ_zqI/edit#gid=0 Color: Green Test Plan: Take all hints and succesfully answer a question within each problem type for all modified exercises. Auditors: alex
Summary: This commit moves the entire #solutionarea div to the bottom of the question area, unless the question contains an element with the class name "render-answer-area-here" (in which case the div is placed immediately after this element). In addition, this commit removes entirely the old "acceptable formats" section at the top of the answer area in favor of tooltips attached directly to individual input elements. This is basically backporting the approach we've taken in Perseus to khan-exercises. Speaking of which, this commit also brings the expression editor in khan-exercises more in line with the Perseus version (rendered output above input) which is a necessary change because otherwise the tooltip obscures the output. Test Plan: Most of these changes were in place during the answer area moving party, and so in general all exercises should be confirmed to work. Tooltips were only finished afterwards though, so I've spot-checked the various answer types myself. Reviewers: aria Reviewed By: aria Subscribers: emily Differential Revision: http://phabricator.khanacademy.org/D14745
Summary: Also did some misc cleanup in khan-exercise.js, mostly related to module-y things ("151 ++----"). I combined local jquery-ui into one file to make it easier to load. Test Plan: Opened addition_1, deriviative_intuition, graphing_points_2 locally, and all looked fine. In webapp/khan-exercises/, ran: ``` npm install -g requirejs r.js -o requirejs.config.js ``` then saw that /exercises/addition_1 looked right. Reviewers: eater, jack Reviewed By: jack CC: alex Differential Revision: http://phabricator.khanacademy.org/D7095
Summary: There are a couple cases that had to be fixed up manually, and a lot of instances that incorrectly tried to wrap $._ around things that shouldn't be translated (mostly the chemistry exercises). There are a couple instances that I wasn't sure about (like the "R" in remainder) that I didn't include. Test Plan: Visit the changed exercises, make sure that the exercise renders and there were no errors. Take all the hints, and make sure that instances of text in mathjax render correctly. Reviewers: john Reviewed By: john CC: alpert, eater Differential Revision: http://phabricator.khanacademy.org/D2445
…tly-expanding whitespace problem in the cleaner.
Summary: When MathJax rendered the median at a line break, the MathJax span was sometimes not visible. When this happens, it will magically appear as soon as you start poking around in the DOM inspector. Rather than chasing an obscure MathJax/browser bug, this adds a linebreak to prevent this condition from happening in the first place. This also changes the graphie scale to 35 from the default of 40 to fit the narrower power-mode format on narrow screens. Reviewers: emily Reviewed By: emily Differential Revision: http://phabricator.khanacademy.org/D420