-
Amanda Ghassaei authoredAmanda Ghassaei authored
SendMenuView.js 512 B
/**
* Created by aghassaei on 3/11/15.
*/
SendMenuView = Backbone.View.extend({
el: "#menuContent",
events: {
},
initialize: function(){
//bind events
_.bindAll(this, "render");
},
render: function(){
if (this.model.changedAttributes()["currentNav"]) return;
if (this.model.get("currentTab") != "send") return;
this.$el.html(this.template(this.model.toJSON()));
},
template: _.template('realtime communication with machine')
});