Added sort and fixed shuffle

This commit is contained in:
Russell Beattie
2013-03-12 17:22:48 -07:00
parent 80df24a915
commit 340f983249
2 changed files with 45 additions and 15 deletions

View File

@@ -88,7 +88,7 @@
for(var i = 0; i < clues.length; i++){
var clue = clues[i]
%>
<li data-answer="<%=clue['word']%>">
<li data-answer="<%=clue['word']%>" title="<%=rot13(clue['word'])%>">
<span class="word"><%=clue['word'].length%> letters</span>:
<span class="def"><%=clue['def']%></span>
</li>
@@ -102,6 +102,7 @@
<span class="gohome">Home</span>
<span class="restart">Restart</span>
<span class="hint">Hint</span>
<span class="sort">Sort</span>
<span class="shuffle">Shuffle</span>
</div>