Reputation: 27114
Seems relatively straight forward :
_.each words, (val, key) -> $(".word_choice")[key].html val
Returns :
$(".word_choice")[key].html is not a function
[Break On This Error]
return $(".word_choice")[key].html(val);
Can't figure this out. I'm using this reference :
http://autotelicum.github.com/Smooth-CoffeeScript/literate/underscore.html#each
Upvotes: 0
Views: 193