mirror of https://gitee.com/bigwinds/arangodb
19 lines
396 B
JavaScript
19 lines
396 B
JavaScript
window.FoxxActiveView = Backbone.View.extend({
|
|
tagName: 'li',
|
|
className: "span3",
|
|
template: new EJS({url: '/_admin/html/js/templates/foxxActiveView.ejs'}),
|
|
|
|
events: {
|
|
// 'click button#add': 'callback'
|
|
},
|
|
|
|
initialize: function(){
|
|
_.bindAll(this, 'render');
|
|
},
|
|
|
|
render: function(){
|
|
$(this.el).html(this.template.render(this.model));
|
|
return $(this.el);
|
|
}
|
|
});
|