1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-15 07:22:35 +01:00
Radarr/UI/AddSeries/RootFolders/Model.js

19 lines
393 B
JavaScript
Raw Normal View History

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