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
I should have figured this out the first time. :-( Auditors: emily, eater Test Plan: None
Auditors: eater,emily Test plan: Ran tools/runtests.py exercises/babel_test.py and it passed after this change, but not before.
Summary: Replace all the instances of toFixed with localeToFixed in the exercises. Also, include math-format in the exercises. Test Plan: Visit the exercises in local mode, ensure that the there are no errors and that the numbers are formatted correctly. Reviewers: john, csilvers Reviewed By: csilvers CC: alpert Maniphest Tasks: T1038 Differential Revision: http://phabricator.khanacademy.org/D2520
…tly-expanding whitespace problem in the cleaner.
…rcises #FIXIT Test Plan: Locally check each exercise/problem type still looks the same(ish) Reviewers: alpert, cbhl Reviewed By: cbhl Differential Revision: http://phabricator.khanacademy.org/D2056
Test Plan: local, Chrome/OS X with local hack to bypass touch detection in utils/answer-types.js Reviewers: tom, eater Reviewed By: eater CC: stephanie, alpert Differential Revision: http://phabricator.khanacademy.org/D1027