1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-16 16:04:08 +01:00
Radarr/NzbDrone.Web/_backboneApp/AddSeries/RootDir/RootDirModel.js

14 lines
276 B
JavaScript
Raw Normal View History

2013-01-25 18:54:45 +01:00
/// <reference path="../../app.js" />
2013-01-24 21:48:44 +01:00
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
2013-01-25 18:54:45 +01:00
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
2013-01-25 18:54:45 +01:00
}
},
defaults: {
freeSpace: 0,
2013-01-25 18:54:45 +01:00
}
2013-01-24 21:48:44 +01:00
});