1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00
Sonarr/UI/Shared/Cells/FileSizeCell.js
2013-06-06 19:40:52 -07:00

11 lines
303 B
JavaScript

"use strict";
NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
className: "file-size-cell",
render: function () {
var size = this.model.get(this.column.get("name"));
this.delegateEvents();
return NzbDrone.Shared.FormatHelpers.FileSizeHelper(size);
}
});