Skip to content
Browse files

Use data-ensure in arithmetic_word_problems.

  • Loading branch information...
1 parent 8674af0 commit 8280b02097e858232003601f71fa9d732889fb25 @bradleyt bradleyt committed May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 exercises/arithmetic_word_problems.html
View
2 exercises/arithmetic_word_problems.html
@@ -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>

0 comments on commit 8280b02

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