2016-03-15 22:33:31 -07:00
|
|
|
|
define([], function () {
|
2016-10-22 22:11:46 -07:00
|
|
|
|
'use strict';
|
2013-03-14 19:42:18 -07:00
|
|
|
|
|
2016-03-15 22:33:31 -07:00
|
|
|
|
return function (view, params) {
|
2013-03-14 19:42:18 -07:00
|
|
|
|
|
2016-03-15 22:33:31 -07:00
|
|
|
|
var self = this;
|
2014-04-05 08:02:50 -07:00
|
|
|
|
|
2016-03-15 22:33:31 -07:00
|
|
|
|
view.addEventListener('viewbeforeshow', function (e) {
|
2016-07-24 09:46:17 -07:00
|
|
|
|
|
2016-03-15 22:33:31 -07:00
|
|
|
|
var elem = view.querySelector('#appVersionNumber');
|
2013-03-14 19:42:18 -07:00
|
|
|
|
|
2016-03-15 22:33:31 -07:00
|
|
|
|
elem.innerHTML = elem.innerHTML.replace('{0}', ConnectionManager.appVersion());
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|