2014-09-06 05:44:29 +08:00
|
|
|
|
|
|
|
(function () {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var
|
|
|
|
_ = require('_'),
|
|
|
|
ko = require('ko'),
|
|
|
|
|
|
|
|
Settings = require('Storage/Settings'),
|
|
|
|
|
|
|
|
kn = require('Knoin/Knoin'),
|
|
|
|
AbstractView = require('Knoin/AbstractView')
|
|
|
|
;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @constructor
|
|
|
|
* @extends AbstractView
|
|
|
|
*/
|
2014-10-18 21:43:44 +08:00
|
|
|
function AboutUserView()
|
2014-09-06 05:44:29 +08:00
|
|
|
{
|
|
|
|
AbstractView.call(this, 'Center', 'About');
|
|
|
|
|
|
|
|
this.version = ko.observable(Settings.settingsGet('Version'));
|
|
|
|
|
|
|
|
kn.constructorEnd(this);
|
|
|
|
}
|
|
|
|
|
2014-10-18 21:43:44 +08:00
|
|
|
kn.extendAsViewModel(['View/User/About', 'View/App/About', 'AboutViewModel'], AboutUserView);
|
|
|
|
_.extend(AboutUserView.prototype, AbstractView.prototype);
|
2014-09-06 05:44:29 +08:00
|
|
|
|
2014-10-18 21:43:44 +08:00
|
|
|
module.exports = AboutUserView;
|
2014-09-06 05:44:29 +08:00
|
|
|
|
|
|
|
}());
|