You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"use strict";
|
|
define(['app'], function () {
|
|
|
|
return Backbone.Model.extend({
|
|
defaults: {
|
|
'version' : '0.0.0.0',
|
|
'buildDate' : Date.create()
|
|
},
|
|
|
|
mutators: {
|
|
humanizedBuildDate: function () {
|
|
var date = Date.create(this.get('buildDate'));
|
|
|
|
return date.short();
|
|
}
|
|
}
|
|
});
|
|
});
|