mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-28 18:41:34 +08:00
ccbf04cb67
Fixed languages popup Release commit
34 lines
No EOL
690 B
JavaScript
34 lines
No EOL
690 B
JavaScript
|
|
(function (module, require) {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
_ = require('_'),
|
|
ko = require('ko'),
|
|
|
|
kn = require('App:Knoin'),
|
|
Settings = require('Storage:Settings'),
|
|
|
|
KnoinAbstractViewModel = require('Knoin:AbstractViewModel')
|
|
;
|
|
|
|
/**
|
|
* @constructor
|
|
* @extends KnoinAbstractViewModel
|
|
*/
|
|
function AboutViewModel()
|
|
{
|
|
KnoinAbstractViewModel.call(this, 'Center', 'About');
|
|
|
|
this.version = ko.observable(Settings.settingsGet('Version'));
|
|
|
|
kn.constructorEnd(this);
|
|
}
|
|
|
|
kn.extendAsViewModel(['View:RainLoop:About', 'AboutViewModel'], AboutViewModel);
|
|
_.extend(AboutViewModel.prototype, KnoinAbstractViewModel.prototype);
|
|
|
|
module.exports = AboutViewModel;
|
|
|
|
}(module, require)); |