See https://docs.google.com/a/khanacademy.org/spreadsheets/d/1wCONrsK1ujRCLal7bcxS0cVkfpfKiPzapt3SsMJ_zqI/edit#gid=0 Color: Blue 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
Test Plan: Verify last hint shows a graph of the correct answer for http://exercises.ka.local/exercises/one_step_inequalities.html?seed=181&problem=0&debug&lang=en Auditors: alex
… the data-if attributes.
…tly-expanding whitespace problem in the cleaner.
…Line to one_step_inequalities