define(["Marionette"],function(a){return a.ItemView.extend({initialize:function(a){this.lessonsModel=a.lessonsModel,_.bindAll(this,"template")},template:function(){return window.Tmpl.minMenu({lessons:this.lessonsModel.deepToJSON()})},events:{"click .action":"triggerHandler"},triggerHandler:function(a){componentUtils.stopEvent(a),this.trigger("request:"+a.currentTarget.dataset.action,a.currentTarget.dataset.id)}})});