Files
Lentolaskuri/app/scripts/views/operation.js
2013-05-13 11:43:34 +03:00

23 lines
422 B
JavaScript

'use strict';
define([
'backbone',
'Template',
'config',
'bootstrap'
], function (Backbone, Template, config) {
var Operation = Backbone.View.extend({
el: '#operation',
initialize: function () {
this.render.apply(this);
},
render: function () {
this.$el.html(Template.operation(config));
this.$el.find('abbr').tooltip();
return this;
}
});
return Operation;
});