Permalink
Browse files

Remove unneeded KhanUtils

  • Loading branch information...
1 parent 0184536 commit 42dced0433b180f48978eb28671fee44c6b76971 @joelburget joelburget committed Aug 27, 2012
Showing with 9 additions and 9 deletions.
  1. +6 −6 exercises/derivative_intuition.html
  2. +1 −1 exercises/line_graph_intuition.html
  3. +2 −2 exercises/the_complex_plane.html
@@ -87,20 +87,20 @@
return "";
}
- var correct = _(KhanUtil.points).map(function(x) {
- return KhanUtil.roundTo(2, KhanUtil.ddx(x));
+ var correct = _(points).map(function(x) {
+ return roundTo(2, ddx(x));
});
return guess.join() === correct.join();
</div>
<div class="show-guess">
_(guess).each(function(coordY, i) {
- KhanUtil.setSlope(i, coordY);
+ setSlope(i, coordY);
});
- var correct = _(KhanUtil.points).map(function(x) {
- return KhanUtil.roundTo(2, KhanUtil.ddx(x));
+ var correct = _(points).map(function(x) {
+ return roundTo(2, ddx(x));
});
if (guess.join() === correct.join()) {
- KhanUtil.revealDerivative(0);
+ revealDerivative(0);
}
</div>
<div class="show-guess-solutionarea">
@@ -53,7 +53,7 @@
fixed: true,
extendLine: true,
normalStyle: {
- stroke: KhanUtil.ORANGE,
+ stroke: ORANGE,
"stroke-width": 2
}
});
@@ -58,15 +58,15 @@
</p>
<div>
<div class="graphie" data-update="gauss-plane">
- style({stroke: KhanUtil.ORANGE, strokeWidth: 2.0});
+ style({stroke: ORANGE, strokeWidth: 2.0});
line([REAL, LOWER_BOUND - 1], [REAL, UPPER_BOUND + 1]);
movablePoint.visibleShape.toFront();
</div>
<p>The vertical <strong class="hint_orange">orange</strong> line represents all complex numbers with real part <code><var>REAL</var></code> (including <code><var>REP</var></code>).
</div>
<div>
<div class="graphie" data-update="gauss-plane">
- style({stroke: KhanUtil.BLUE, strokeWidth: 2.0});
+ style({stroke: BLUE, strokeWidth: 2.0});
line([LOWER_BOUND - 1, IMAG], [UPPER_BOUND + 1, IMAG]);
movablePoint.visibleShape.toFront();
</div>

0 comments on commit 42dced0

Please sign in to comment.