Skip to content

Instantly share code, notes, and snippets.

App.Alex = Ember.Object.Extend({
dotColor: function() {
switch (this.get('customer').get('state') {
when 1
'sprite big'
when 2
'sprite small'
}
}.property('customer.state')
})