mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
769331d45d
single quotes
18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backbone',
|
|
'sugar'
|
|
], function (Backbone) {
|
|
return Backbone.Model.extend({
|
|
mutators: {
|
|
freeSpaceString: function () {
|
|
return this.get('freeSpace').bytes(2) + ' Free';
|
|
}
|
|
},
|
|
|
|
defaults: {
|
|
freeSpace: 0
|
|
}
|
|
});
|
|
});
|