dependencies.halbrowser.js.hal.views.explorer.js Maven / Gradle / Ivy
The newest version!
HAL.Views.Explorer = Backbone.View.extend({
initialize: function(opts) {
var self = this;
this.vent = opts.vent;
this.navigationView = new HAL.Views.Navigation({ vent: this.vent });
this.resourceView = new HAL.Views.Resource({ vent: this.vent });
},
className: 'explorer span6',
render: function() {
this.navigationView.render();
this.$el.html(this.template());
this.$el.append(this.navigationView.el);
this.$el.append(this.resourceView.el);
},
template: function() {
return 'Explorer
';
}
});