# Khan/khan-exercises

Make unit circle accept fractions

```Summary: Closes #39525.

Test Plan: Answered -1/2 and 0.866 (to two different questions), both were accepted.

Reviewers: eater

Reviewed By: eater

1 parent 88987c1 commit e5ef619c729be6a6949ec2b3204b44d8af25ce9e sophiebits committed Feb 8, 2013
Showing with 8 additions and 6 deletions.
1. +1 −1 exercises/unit_circle.html
2. +7 −5 khan-exercise.js
 @@ -27,7 +27,7 @@

-
SOLUTION
+
SOLUTION
 @@ -369,7 +369,7 @@ var Khan = (function() { // Base modules required for every problem mods.push( - "answer-types", "tmpl", "underscore", "jquery.adhesion", + "answer-types", "tmpl", "jquery.adhesion", "hints", "calculator" ); @@ -723,11 +723,13 @@ var Khan = (function() { randomSeed = testMode && parseFloat(Khan.query.seed) || userCRC32 || (new Date().getTime() & 0xffffffff); - // Load in jQuery - if (window.jQuery) { - onjQueryLoaded(); + // Load in jQuery and underscore + if (testMode) { + Khan.loadScript("../jquery.js", function() { + Khan.loadScript("../utils/underscore.js", onjQueryLoaded); + }); } else { - Khan.loadScript("../jquery.js", onjQueryLoaded); + onjQueryLoaded(); } function onjQueryLoaded() {

Contributor

### sophiebits commented on `e5ef619`Feb 8, 2013

 Darn it, somehow I mixed in http://phabricator.khanacademy.org/D2015 here. Oh well.