Created
May 9, 2013 19:25
-
-
Save ChillPenguinX/5549869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
humanized: 'Avg Bid' | |
modelAttribute: 'bid' | |
lambda: (val) -> | |
val = if _.isNumber(val) then '$' + (val/100).format(2) else val | |
new Handlebars.SafeString "<input class='body-only' type='text' value='" + val + "' />" + | |
"<span class='head-only'>" + val + "</span>" | |
.tableHeader | |
.body-only | |
display: none | |
tbody | |
.head-only | |
display: none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment