templates/project/widgets/number/number.coffee in dashing-0.1.2 vs templates/project/widgets/number/number.coffee in dashing-1.0
- old
+ new
@@ -13,11 +13,8 @@
@accessor 'arrow', ->
if @get('last')
if parseInt(@get('current')) > parseInt(@get('last')) then 'icon-arrow-up' else 'icon-arrow-down'
- @accessor 'needsAttention', ->
- @get('status') == 'warning' || @get('status') == 'danger'
-
onData: (data) ->
if data.status
$(@get('node')).addClass("status-#{data.status}")
\ No newline at end of file