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

Commit

Permalink
Fix reading_pictographs_2 to deal with the new randRangeUnique()
Browse files Browse the repository at this point in the history
See b10ef1d

Test plan: Before the change, load reading_pictographs_2 in local/debug mode, refresh until DATA contained an 8. Note horrible breakage. After this change, do the same thing and note that DATA works if it contains 7 and that's the largest it seems to pick.

Auditors: alpert
  • Loading branch information
beneater committed Apr 19, 2013
1 parent 85e2759 commit f2e1f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/reading_pictographs_2.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<body>
<div class="exercise">
<div class="vars">
<var id="DATA">randRangeUnique( 1, 8, 5 )</var>
<var id="DATA">randRangeUnique( 1, 7, 5 )</var>
<var id="BADGE">randFromArray([ "meteorite", "moon", "earth" ])</var>
<var id="FULL_IMAGE">"&lt;img src='" + Khan.imageBase + "badges/" + BADGE + "-small.png'&gt;"</var>
<var id="HALF_IMAGE">"&lt;div style=\"background-image:url('" + Khan.imageBase + "badges/" + BADGE + "-small.png'); width:20px; height:40px;\"&gt;&nbsp;&lt;/div&gt;"</var>
Expand Down

0 comments on commit f2e1f8c

Please sign in to comment.