3
votes
1answer
85 views

CoffeeScript method refactoring

This method is from Backbone-View. I'd like to refactor it but I don't have much experience with Coffee or JavaScript. linkStyle: -> if @model.get('published') 'published' else ...