Feb 12 2014

DRY up your Views in Backbone Marionette

If you are anything like me your Marionette views might looks something like this: class Table extends Marionette.ItemView ui: top: ".top" base: ".base" events: -> "click .top": @knock "click .base": @budge onShow: ->