Permalink
Browse files

Add reversed-when clauses conditional_statements_2

  • Loading branch information...
1 parent 9437649 commit 71a79f9ef705bf348a6b0facdab1f69184634a26 @xymostech xymostech committed Jun 25, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 exercises/conditional_statements_2.html
@@ -211,7 +211,12 @@
<var id="SOLUTION">["If", ["I", 1], [EVENT_V, 1], [EVENT_N, 1], "then", ["I", 2], [CONC_V, 2], [CONC_N, 2]]</var>
- <var id="STATEMENT_LIST">[["I will ", 2], [CONC_V, 2], " ", [CONC_N, 2], " when ", ["I ", 1], [EVENT_V, 1], " ", [EVENT_N, 1], "."]</var>
+ <var id="STATEMENT_LIST">
+ randFromArray([
+ [["I will ", 2], [CONC_V, 2], " ", [CONC_N, 2], " when ", ["I ", 1], [EVENT_V, 1], " ", [EVENT_N, 1], "."],
+ ["When ", ["I ", 1], [EVENT_V, 1], " ", [EVENT_N, 1], [", I will ", 2], [CONC_V, 2], " ", [CONC_N, 2], "."],
+ ])
+ </var>
<var id="STATEMENT">_.map(STATEMENT_LIST, makeStatement).join("")</var>
</div>
<div class="hints">

2 comments on commit 71a79f9

Owner

xymostech replied Jun 25, 2012

@beneater review?

Owner

beneater replied Jun 25, 2012

lgtm

Please sign in to comment.