Skip to content

Instantly share code, notes, and snippets.

@ChillPenguinX
Created May 9, 2013 19:25
Show Gist options
  • Save ChillPenguinX/5549869 to your computer and use it in GitHub Desktop.
Save ChillPenguinX/5549869 to your computer and use it in GitHub Desktop.
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