mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 00:38:04 +08:00
34 lines
No EOL
627 B
JavaScript
34 lines
No EOL
627 B
JavaScript
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
_ = require('_'),
|
|
ko = require('ko'),
|
|
|
|
Settings = require('Storage/Settings'),
|
|
|
|
kn = require('Knoin/Knoin'),
|
|
AbstractView = require('Knoin/AbstractView')
|
|
;
|
|
|
|
/**
|
|
* @constructor
|
|
* @extends AbstractView
|
|
*/
|
|
function AboutUserView()
|
|
{
|
|
AbstractView.call(this, 'Center', 'About');
|
|
|
|
this.version = ko.observable(Settings.settingsGet('Version'));
|
|
|
|
kn.constructorEnd(this);
|
|
}
|
|
|
|
kn.extendAsViewModel(['View/User/About', 'View/App/About', 'AboutViewModel'], AboutUserView);
|
|
_.extend(AboutUserView.prototype, AbstractView.prototype);
|
|
|
|
module.exports = AboutUserView;
|
|
|
|
}()); |