2013-03-29 19:17:03 +00:00
|
|
|
"use strict";
|
2013-02-14 02:28:56 +00:00
|
|
|
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
|
2013-02-14 02:28:56 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|