mirror of
https://github.com/Ekokumppanit/Lentolaskuri.git
synced 2026-02-11 22:46:15 +00:00
Initial commit
This commit is contained in:
22
app/scripts/views/operation.js
Normal file
22
app/scripts/views/operation.js
Normal file
@@ -0,0 +1,22 @@
|
||||
'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;
|
||||
});
|
||||
Reference in New Issue
Block a user