Skip to content
Commits on Jun 4, 2014
  1. @petercollingridge

    Split area exercise into two

    petercollingridge committed Jun 4, 2014
    Reviewers: eater
    
    Reviewed By: eater
    
    Differential Revision: http://phabricator.khanacademy.org/D9619
Commits on Jun 2, 2014
  1. @petercollingridge

    Move units into word-problems util

    petercollingridge committed Jun 2, 2014
    Summary: Change exercises to use units in word-problems util
    
    Reviewers: eater
    
    Reviewed By: eater
    
    Differential Revision: http://phabricator.khanacademy.org/D9115
Commits on May 16, 2014
  1. @petercollingridge

    Make numbers mathy

    petercollingridge committed May 16, 2014
    Reviewers: eater
    
    Reviewed By: eater
    
    Differential Revision: http://phabricator.khanacademy.org/D9022
Commits on May 14, 2014
  1. @beneater

    Disable scratchpad for exercises that use subhints

    beneater committed May 13, 2014
    Test Plan: Load http://exercises.ka.local/exercises/square_roots_2.html and note that the scratchpad is unavailable.
    
    Reviewers: jack
    
    Reviewed By: jack
    
    Differential Revision: http://phabricator.khanacademy.org/D8938
Commits on Mar 5, 2014
  1. @spicyj

    Use requirejs for module loading

    spicyj committed Mar 5, 2014
    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
Commits on Sep 13, 2013
  1. @csilvers

    Munge text to make i18n singular forms unique.

    csilvers committed Sep 12, 2013
    Summary:
    For ngettext strings ("1 test"/"{{num}} tests"), our translation tools
    get upset if we see the same singular text in two places, but with two
    different plural texts ("1 test"/"{{num}} tests") vs ("1
    test"/"%(num)s tests").
    
    There were two places this happened in khan-exercises, one because
    a weird line-breaking choice made two plurals look different that were
    actually the same, and the other because of a distinct varname.  We
    solve the second in the normal way of replacing '1' with 'varname', so
    that the singular forms now differ.
    
    Task T1562
    
    Test Plan:
    Ran
       tools/pybabel extract -F tools/babel.ini khan-exercises
    without errors.
    
    Reviewers: james, eater, alpert
    
    Reviewed By: alpert
    
    CC: alpert
    
    Maniphest Tasks: T1562
    
    Differential Revision: http://phabricator.khanacademy.org/D4139
Commits on Jun 12, 2013
  1. @xymostech

    Don't use $._ inside of <var>s

    xymostech committed Jun 11, 2013
    Summary:
    Take every use of $._ inside of normal <var>s and move them into <div
    class="vars"> instead. Also, add some tests to the linter to throw errors when
    $._ is used in <var>s.
    
    Test Plan:
    Run linter (not with --fix) on the exercises, see that there are no
    errors related to $._ in <var>s. Visit a bunch of changed exercises locally,
    make sure that there are no errors in the javascript console.
    
    Reviewers: john, csilvers, eater
    
    Reviewed By: csilvers
    
    CC: alpert
    
    Differential Revision: http://phabricator.khanacademy.org/D2628
Commits on Jun 4, 2013
  1. @xymostech

    Manually i18nize all of the minor exercises

    xymostech committed Jun 3, 2013
    Summary:
    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: http://phabricator.khanacademy.org/D2504
Commits on May 29, 2013
  1. @xymostech

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

    xymostech committed May 29, 2013
    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
Commits on May 7, 2013
  1. @jeresig
  2. @jeresig

    Revert linting changes.

    jeresig committed May 7, 2013
Commits on Apr 25, 2013
  1. @jeresig

    Re-run the linter on the exercises, fixing data-if usage and replacin…

    jeresig committed Apr 25, 2013
    …g entities with characters in data-if attributes.
  2. @jeresig

    Back out latest lint fix.

    jeresig committed Apr 25, 2013
Commits on Apr 24, 2013
  1. @jeresig
  2. @jeresig
Commits on Apr 23, 2013
  1. @jeresig
  2. @jeresig

    Merging in from stable.

    jeresig committed Apr 23, 2013
Commits on Apr 22, 2013
  1. @jeresig

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

    jeresig committed Apr 22, 2013
    …tly-expanding whitespace problem in the cleaner.
Commits on Apr 17, 2013
  1. @jeresig
  2. @cbhl
Commits on Apr 16, 2013
  1. @cbhl
  2. @jeresig
  3. @jeresig
  4. @jeresig
  5. @jeresig
Commits on Apr 15, 2013
  1. @jeresig

    Revert recent fixes.

    jeresig committed Apr 15, 2013
  2. @jeresig
  3. @jeresig
  4. @jeresig
Commits on Apr 10, 2013
  1. @jeresig
Commits on Jan 17, 2013
  1. @cbhl

    Use type=number on more exercises with multiple inputs.

    cbhl committed Jan 16, 2013
    Summary:
    Use type=number on Adding and Subtracting Complex Numbers.
    
    Use type=number on Adding and Subtracting Decimal Word Problems
    
    Use type=number on Adding Vectors
    
    Use type=number on Angle Addition Postulate
    
    Use type=number on Angles of a Polygon.
    
    Use type=number on Area 1.
    
    Use type=number on Area of Parallelograms.
    
    Use type=number on Area of Squares and Rectangles.
    
    Use type=number on Area of Triangles 1.
    
    Use type=number on Areas of Trapezoids, Rhombi and Kites.
    
    Test Plan: local, Chrome/OS X
    
    Reviewers: tom, eater
    
    Reviewed By: eater
    
    CC: stephanie, alpert
    
    Differential Revision: http://phabricator.khanacademy.org/D1030
Commits on Jun 25, 2012
  1. @beneater
Commits on Jun 15, 2012
  1. @beneater
  2. @beneater
Commits on Jun 14, 2012
  1. @beneater
Something went wrong with that request. Please try again.