Sonarr/UI/AddSeries/RootFolders/RootFolderModel.js

14 lines
341 B
JavaScript
Raw Normal View History

2013-03-29 19:17:03 +00:00
"use strict";
define(['app'], function () {
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
2013-03-30 19:30:00 +00:00
freeSpace: 0
}
});
});