more backbone changes.

This commit is contained in:
Keivan Beigi
2013-01-25 09:54:45 -08:00
committed by kay.one
parent 13194704b4
commit e720094f9c
14 changed files with 9087 additions and 5 deletions
@@ -1,4 +1,14 @@
/// <reference path="../../app.js" />
/// <reference path="../../app.js" />
NzbDrone.AddSeries.RootDirModel = Backbone.Model.extend({
idAttribute: 'Id',
mutators: {
FreeSpaceString: function () {
return this.get('FreeSpace').bytes(2) + " Free";
}
},
defaults: {
FreeSpace: 0,
}
});