Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 22, 2015
  1. @csilvers

    Change from $._ and $.ngettext over to i18n._ and i18n.ngettext.

    csilvers committed
    With D22593 and followups, we can now move from $._ to i18n._,
    removing an (arbitrary) dependence of translation code on jquery.
    This is a mostly-automated process: .  First I found files that use $._
    and changed them to i18n._.  Then I added the necessary require lines,
    either reusing an existing require of i18n.js if it exists, or adding
    a new one if it didn't:
        git grep -l '$\._(' | xargs perl -pli -e 's/\$\._/i18n._/g'
        git grep -l '$\.ngettext(' | xargs perl -pli -e 's/\$\.ngettext/i18n.ngettext/g'
    I then cleaned up, particularly
    I also had to add 'no-undef' eslint directives to a bunch of files,
    since khan-exercises doesn't have a proper require() system, and
    depends on i18n being a global.
    Test Plan:
       python -mSimpleHTTPServer
    and visited
    and saw it render properly.
    Reviewers: john
    Reviewed By: john
    Subscribers: emily
    Differential Revision:
Commits on Nov 20, 2014
  1. @alopatin

    Rearrange answer area content within some exercises

    alopatin committed
    Color: Cyan
    Test Plan:
    Take all hints and succesfully answer a question within each problem
    type for all modified exercises.
    Auditors: eater
Commits on May 23, 2014
  1. @petercollingridge

    Make question more specific

    petercollingridge committed
    Reviewers: eater
    Reviewed By: eater
    Differential Revision:
Commits on Mar 5, 2014
  1. @spicyj

    Use requirejs for module loading

    spicyj committed
    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 Nov 9, 2013
  1. @mauk81

    localize solution, fix #78372

    mauk81 committed
Commits on Nov 2, 2013
  1. @mauk81
Commits on Jul 15, 2013
  1. @petercollingridge
Commits on Jul 12, 2013
  1. @petercollingridge

    More hint colour fixes

    petercollingridge committed
  2. @petercollingridge

    Fix colouring of hint

    petercollingridge committed
  3. @petercollingridge
  4. @petercollingridge
  5. @petercollingridge

    Add colours to hints

    petercollingridge committed
Commits on Jun 27, 2013
  1. @petercollingridge

    More hints

    petercollingridge committed
  2. @petercollingridge
Commits on Jun 12, 2013
  1. @petercollingridge

    Improve hints

    petercollingridge committed
Commits on Jun 6, 2013
  1. @petercollingridge
Commits on Jun 5, 2013
  1. @petercollingridge
  2. @petercollingridge

    Simplify code

    petercollingridge committed
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 committed
    …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 Apr 10, 2012
  1. @beneater
Commits on Jan 4, 2012
  1. @spicyj

    <s and things

    spicyj committed
  2. @spicyj
Commits on Sep 22, 2011
  1. @jpulgarin

    Proper fix for data-each + graphie/conditionals scoping bug.

    jpulgarin committed
    Also got rid of the hacks that were in place as a result of this bug in various graphie blocks.
Commits on Jul 28, 2011
  1. @jeresig
Commits on Jul 27, 2011
  1. @spicyj
  2. @spicyj

    By popular vote, the One True Way prevails

    spicyj committed
    (Ben, Joel, Igor vs. Jeff ;))
Commits on Jul 25, 2011
  1. @jruberg
Commits on Jul 23, 2011
  1. @spicyj

    Make axisArrows unidirectional because they are broken anyway

    spicyj committed
    Also for consistency with Wikipedia!
Commits on Jul 22, 2011
  1. @spicyj

    Rename EVERYTHING; closes #323.

    spicyj committed
Commits on Jul 14, 2011
  1. @spicyj

    remove eval usage from even_and_odd_functions

    spicyj committed
    but it's still slow! :( also I left a bunch of things like valAt to avoid
    rewriting the old code whenever possible
Something went wrong with that request. Please try again.