Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 20, 2014
  1. @xymostech @alopatin

    Rearrange answer area content within some exercises

    xymostech authored alopatin committed
    Color: Green
    Test Plan:
    Take all hints and succesfully answer a question within each problem
    type for all modified exercises.
    Auditors: alex
  2. @alopatin

    Move all answer area content to the bottom of the question area

    alopatin authored
    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:
Commits on Mar 5, 2014
  1. @spicyj

    Use requirejs for module loading

    spicyj authored
    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:
Commits on Jun 4, 2013
  1. @xymostech

    Manually i18nize all of the minor exercises

    xymostech authored
    Manually make modifications to all the exercises for i18n. Most of the problems revolved around:
    - Wrapping Strings in variables or graphies with `$._`
    - `data-if`s in the middle of sentences, that needed to be pulled out around the entire sentence
    - Strings that needed to be put into Plural objects for pluralization
    - Decoupling strings from logic
    Test Plan:
    Visit the changed exercises. Make sure the question renders
    correctly and there are no javascript errors. Take all the hints and make sure
    nothing is rendered incorrectly. Do the translations into box language, and
    make sure that everything from the languages is boxy.
    Reviewers: csilvers, john
    Reviewed By: csilvers
    CC: alpert, eater
    Differential Revision:
Commits on May 29, 2013
  1. @xymostech

    Fix up most instance of \text{} using the linter

    xymostech authored
    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:
Commits on Apr 24, 2013
  1. @jeresig
Commits on Apr 22, 2013
  1. @jeresig

    Clean up the newly-changed HTML exercises and also fix up the constan…

    jeresig authored
    …tly-expanding whitespace problem in the cleaner.
Commits on Apr 17, 2013
  1. @cbhl
Commits on Apr 16, 2013
  1. @cbhl
  2. @jeresig
  3. @jeresig
Commits on Sep 19, 2012
  1. @beneater

    Fix up exercises that are too wide for tutorials

    beneater authored
    Reviewers: marcos, tom, desmond
    Differential Revision:
Commits on Jul 18, 2012
  1. @beneater

    Add a <br /> to exploring_mean_and_median question #FIXIT

    beneater authored
    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:
Commits on Apr 10, 2012
  1. @beneater
Commits on Feb 7, 2012
  1. @spicyj

    Validation fixes :)

    spicyj authored
Commits on Jan 11, 2012
  1. @beneater

    Add exercise: Exploring standard deviation 1

    beneater authored
    Also modify exploring_mean_and_median to use custom answer-type
Commits on Jan 4, 2012
  1. @spicyj
Commits on Jan 3, 2012
  1. @beneater

    Grammar nit

    beneater authored
Commits on Nov 9, 2011
  1. @beneater

    Change answer type name

    beneater authored
  2. @beneater
Commits on Nov 8, 2011
  1. @beneater
  2. @beneater
Something went wrong with that request. Please try again.