1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-05 15:15:59 +02:00

19 lines
393 B
JavaScript
Raw Normal View History

2013-03-29 12:17:03 -07:00
"use strict";
2013-06-20 22:19:41 -07:00
define(
[
'backbone',
'sugar'
], function (Backbone) {
return Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
2013-06-20 22:19:41 -07:00
defaults: {
freeSpace: 0
}
});
});