This commit is contained in:
Keivan Beigi 2013-06-20 18:43:58 -07:00
parent 0916c8b8d1
commit 24c77b4047
29 changed files with 610 additions and 517 deletions

View file

@ -0,0 +1,14 @@
"use strict";
define(['app'], function () {
NzbDrone.AddSeries.RootFolders.RootFolderModel = Backbone.Model.extend({
mutators: {
freeSpaceString: function () {
return this.get('freeSpace').bytes(2) + " Free";
}
},
defaults: {
freeSpace: 0
}
});
});