2018-06-20 08:48:14 +10:00
|
|
|
const Mn = require('backbone.marionette');
|
|
|
|
const template = require('./main.ejs');
|
2018-07-18 14:28:41 +10:00
|
|
|
const Cache = require('../../cache');
|
2018-06-20 08:48:14 +10:00
|
|
|
|
|
|
|
module.exports = Mn.View.extend({
|
|
|
|
className: 'container',
|
|
|
|
template: template,
|
|
|
|
|
|
|
|
templateContext: {
|
|
|
|
getVersion: function () {
|
2018-07-18 14:28:41 +10:00
|
|
|
return Cache.version || '0.0.0';
|
2018-06-20 08:48:14 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|