Permalink
Browse files

Clean up minor nits.

Summary:
add line ends before EOF
data-form integer is redundant when decimal is specified

Test Plan: none

Reviewers: tom, eater

Reviewed By: eater

CC: eater

Differential Revision: http://phabricator.khanacademy.org/D1039
  • Loading branch information...
cbhl committed Jan 18, 2013
1 parent e0c44db commit bd7192e2a5132701e3d5410265e300e0c25b2b6d
@@ -74,7 +74,7 @@
<p class="question">How much faster was <var>person(2)</var> than <var>person(1)</var> in seconds?</p>
</div>
<div class="solution" data-type="multiple">
- <p> <span class="sol" data-forms="decimal"><var>time_1-time_2 </var></span> seconds</p>
+ <p> <span class="sol" data-forms="integer, decimal"><var>time_1-time_2 </var></span> seconds</p>
</div>
<div class="hints">
<p>To find how much faster <var>person(2)</var> was than <var>person(1)</var>, we need to find the difference between their times in seconds.
@@ -119,7 +119,7 @@
</div>
<div class="solution" data-type="multiple">
- <p><span class="sol" data-forms="decimal"><var> weight_1+weight_2 </var></span> pounds</p>
+ <p><span class="sol" data-forms="integer, decimal"><var> weight_1+weight_2 </var></span> pounds</p>
</div>
<div class="hints">
@@ -202,7 +202,7 @@
</div>
<div class="solution" data-type="multiple">
- <p> <span class="sol" data-forms="decimal"><var>rain_2-rain_1 </var></span> inches</p>
+ <p> <span class="sol" data-forms="integer, decimal"><var>rain_2-rain_1 </var></span> inches</p>
</div>
<div class="hints">
<p>To find the difference in rainfall, we can subtract the amount of rain in <var>person(1)</var>'s town from the amount of rain in <var>person(2)</var>'s town.
@@ -239,7 +239,7 @@
</div>
<div class="solution" data-type="multiple">
- <p> <span class="sol" data-forms="decimal"><var>distance_1+distance_2</var></span> <var>plural(distance(1))</var></p>
+ <p> <span class="sol" data-forms="integer, decimal"><var>distance_1+distance_2</var></span> <var>plural(distance(1))</var></p>
</div>
<div class="hints">
<p>To find the total distance <var>person(1)</var> travels, we need to add the two distances together.
@@ -117,4 +117,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -105,4 +105,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -15,7 +15,7 @@
</div>
<p>Express the percent as a decimal.</p>
<p class="question"><code><var>PERCENT</var>\%</code></p>
- <p class="solution" data-forms="decimal"><var>DECIMAL</var></p>
+ <p class="solution" data-forms="integer, decimal"><var>DECIMAL</var></p>
<div class="hints">
<div>
<p><code><var>PERCENT</var></code> percent = <code><var>PERCENT</var></code> per cent = <code><var>PERCENT</var></code> per hundred</p>
@@ -63,7 +63,7 @@
<div class="solution" data-type="multiple">
<code>$</code>
- <span class="sol" data-forms="decimal"><var>ANS</var></span>
+ <span class="sol" data-forms="integer, decimal"><var>ANS</var></span>
</div>
<div class="hints">
@@ -185,4 +185,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -230,7 +230,7 @@
><span data-if="R2 !== ''">, assuming <code><var>NOT_GIVEN</var></code> is available in excess</span>?
</p>
<div class="solution" data-type="multiple">
- <span class="sol" data-forms="decimal" data-inexact data-max-error="0.1"><var>P1_MOL</var></span> moles
+ <span class="sol" data-forms="integer, decimal" data-inexact data-max-error="0.1"><var>P1_MOL</var></span> moles
<span class="example">a decimal, like <code>0.75</code></span>
<span class="example">any answer within 0.1 mole will be accepted to allow for rounding</span>
</div>
@@ -70,7 +70,7 @@
TRIANGLE.draw();
</div>
</div>
- <div class="solution" data-forms="decimal"
+ <div class="solution" data-forms="integer, decimal"
data-inexact data-max-error="0.09"><var>SOLUTION</var>
</div>
@@ -77,7 +77,7 @@
</div>
</div>
- <div class="solution" data-forms="decimal"
+ <div class="solution" data-forms="integer, decimal"
data-inexact data-max-error="0.09"><var>SOLUTION</var>
</div>
@@ -171,7 +171,7 @@
<code><var>R2_MASS</var> \text{g}</code> of <code><var>R2</var></code>?
</p>
<div class="solution" data-type="multiple">
- <span class="sol" data-forms="decimal" data-inexact data-max-error="1"><var>P1_MASS</var></span> grams
+ <span class="sol" data-forms="integer, decimal" data-inexact data-max-error="1"><var>P1_MASS</var></span> grams
<span class="example">a decimal, like <code>0.75</code></span>
<span class="example">any answer within 1 gram will be accepted to allow for rounding</span>
</div>
@@ -57,4 +57,4 @@
</div>
</body>
-</html>
+</html>
@@ -91,4 +91,4 @@
</div>
</body>
-</html>
+</html>
@@ -189,4 +189,4 @@
</div>
</body>
-</html>
+</html>
@@ -113,4 +113,4 @@
</div>
</body>
-</html>
+</html>
@@ -173,4 +173,4 @@
</div>
</body>
-</html>
+</html>
@@ -116,4 +116,4 @@
</div>
</body>
-</html>
+</html>
@@ -27,7 +27,7 @@
<p class="question">
<var>B_SIMPLE</var> is <var>A_SIMPLE</var>% of what number? (Round to the hundredths place.)
</p>
- <p class="solution" data-forms="decimal"><var>round(((B_SIMPLE * 100) / A_SIMPLE) * 100) / 100</var></p>
+ <p class="solution" data-forms="integer, decimal"><var>round(((B_SIMPLE * 100) / A_SIMPLE) * 100) / 100</var></p>
<div class="hints">
<p>Let <code>x</code> be the number that <var>B_SIMPLE</var> is <var>A_SIMPLE</var>% of.</p>
<p><code><var>A_SIMPLE / 100</var> \times x = <var>B_SIMPLE</var></code></p>
@@ -302,4 +302,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -123,4 +123,4 @@
</div>
</div>
</body>
-</html>
+</html>
@@ -23,7 +23,7 @@
<p class="question">Find the z-score for <var>person( 1 )</var>'s exam grade. Round to two decimal places.</p>
- <div class="solution" data-forms="decimal"><var>ZSCORE</var></div>
+ <div class="solution" data-forms="integer, decimal"><var>ZSCORE</var></div>
<div class="hints">
<p>A z-score is defined as the number of <span class="hint_green">standard deviations</span> a specific point is away from the <span class="hint_pink">mean</span>.</p>

1 comment on commit bd7192e

@cbhl

This comment has been minimized.

Show comment Hide comment
@cbhl

cbhl Jan 18, 2013

Contributor

That commit message should say "not redundant". >.<"

Contributor

cbhl commented on bd7192e Jan 18, 2013

That commit message should say "not redundant". >.<"

Please sign in to comment.