mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
cleaned up mutators
This commit is contained in:
parent
8841e43c25
commit
28c93aa947
5 changed files with 11 additions and 33 deletions
|
@ -5,12 +5,6 @@ define(
|
|||
'sugar'
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
mutators: {
|
||||
freeSpaceString: function () {
|
||||
return this.get('freeSpace').bytes(2) + ' Free';
|
||||
}
|
||||
},
|
||||
|
||||
defaults: {
|
||||
freeSpace: 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue