Skip to content

Commit

Permalink
added enhanced iteration over dictionaries (thanks to spicyj)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbent committed Apr 7, 2012
1 parent a34b678 commit 540cd8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/converse_inverse_and_contrapositive.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@

<p class="solution"><var>CHOICES[TYPE]</var></p>
<ul class="choices" data-show="4" data-none="true">
<span data-each="['converse', 'inverse', 'contrapositive', 'other1', 'other2'] as key"><li><var>CHOICES[key]</var></li></span>
<span data-each="CHOICES as key, value"><li><var>value</var></li></span>
</ul>
</div>

<div id="sun-and-hat" data-type="rain-and-soccer-practice">
<!--<div id="sun-and-hat" data-type="rain-and-soccer-practice">
<div class="vars">
<var id="CHOICES">{
"converse" : "If I need to wear a hat today, then the sun is bright outside.",
Expand Down Expand Up @@ -87,7 +87,7 @@
</div>
<p class="question">"Elephants eat peanuts."</p>
</div>
</div>-->

<div id="equations-and-equations" data-type="rain-and-soccer-practice">
<p class="question">"If <code>3x+1=7</code>, then <code>x=2</code>."</p>
Expand Down

0 comments on commit 540cd8a

Please sign in to comment.