Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit bd7192e2a5132701e3d5410265e300e0c25b2b6d 1 parent e0c44db
@cbhl cbhl authored
View
8 exercises/adding_and_subtracting_decimals_word_problems.html
@@ -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.
View
2  exercises/areas_of_circles_and_sectors.html
@@ -117,4 +117,4 @@
</div>
</div>
</body>
-</html>
+</html>
View
2  exercises/circles_and_arcs.html
@@ -105,4 +105,4 @@
</div>
</div>
</body>
-</html>
+</html>
View
2  exercises/converting_percents_to_decimals.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>
View
2  exercises/expected_value.html
@@ -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">
View
2  exercises/exploring_angle_pairs_1.html
@@ -185,4 +185,4 @@
</div>
</div>
</body>
-</html>
+</html>
View
2  exercises/ideal_stoichiometry.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>
View
2  exercises/law_of_cosines.html
@@ -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>
View
2  exercises/law_of_sines.html
@@ -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>
View
2  exercises/limiting_reagent_stoichiometry.html
@@ -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>
View
2  exercises/matrix_determinant.html
@@ -57,4 +57,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/matrix_transpose.html
@@ -91,4 +91,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/multiplying_a_matrix_by_a_matrix.html
@@ -189,4 +189,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/multiplying_a_matrix_by_a_matrix_solution_only.html
@@ -113,4 +113,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/multiplying_a_matrix_by_a_matrix_steps_only.html
@@ -173,4 +173,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/multiplying_a_matrix_by_a_matrix_video_hint.html
@@ -116,4 +116,4 @@
</div>
</body>
-</html>
+</html>
View
2  exercises/percentage_word_problems_1.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>
View
2  exercises/rotation_of_polygons.html
@@ -302,4 +302,4 @@
</div>
</div>
</body>
-</html>
+</html>
View
2  exercises/visualizing_derivatives.html
@@ -123,4 +123,4 @@
</div>
</div>
</body>
-</html>
+</html>
View
2  exercises/z_scores_1.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

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

Please sign in to comment.
Something went wrong with that request. Please try again.