mirror of
https://github.com/Radarr/Radarr
synced 2024-12-28 10:51:48 +00:00
7093f352fe
backbone app is now fully served from nancy including css,js,html
13 lines
No EOL
328 B
JavaScript
13 lines
No EOL
328 B
JavaScript
define(['app'], function () {
|
|
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
|
|
mutators: {
|
|
freeSpaceString: function () {
|
|
return this.get('freeSpace').bytes(2) + " Free";
|
|
}
|
|
},
|
|
|
|
defaults: {
|
|
freeSpace: 0,
|
|
}
|
|
});
|
|
}); |