Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Use data-ensure in arithmetic_word_problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyt committed May 31, 2011
1 parent 8674af0 commit 8280b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/arithmetic_word_problems.html
Expand Up @@ -9,7 +9,7 @@
<div class="vars">
<var id="ITEMS_PER_GROUP">randRange( 3, 12 )</var>
<var id="ITEMS_LEFT">randRange( 1, ITEMS_PER_GROUP - 1 )</var>
<var data-prevent="getFactors( ITEMS_PER_GROUP * GROUPS + ITEMS_LEFT ).length < 3"
<var data-ensure="getFactors( ITEMS_PER_GROUP * GROUPS + ITEMS_LEFT ).length > 2"
id="GROUPS">randRange( 2, 12 )</var>
<var id="ITEMS_IN_GROUPS">GROUPS * ITEMS_PER_GROUP</var>
<var id="TOTAL_ITEMS">ITEMS_IN_GROUPS + ITEMS_LEFT</var>
Expand Down

0 comments on commit 8280b02

Please sign in to comment.