define([ 'jquery', 'trunk' ], function($, Trunk) { var Model = Trunk.Model.extend() return Trunk.View.extend({ Model: Model, template: '#template-select', onRequest: function() { this.el.html('') }, onError: function() { this.el.html('') } }) });