mirror of
https://github.com/Ekokumppanit/Lentolaskuri.git
synced 2026-01-26 11:13:58 +00:00
23 lines
422 B
JavaScript
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;
|
|
});
|