mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed NzbDrone. namespace, everything is done using require.
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
'use strict';
|
||||
define(['app','Cells/NzbDroneCell'], function () {
|
||||
return NzbDrone.Cells.NzbDroneCell.extend({
|
||||
define(
|
||||
[
|
||||
'Cells/NzbDroneCell'
|
||||
], function (NzbDroneCell) {
|
||||
return NzbDroneCell.extend({
|
||||
|
||||
className : 'relative-date-cell',
|
||||
className: 'relative-date-cell',
|
||||
|
||||
render: function () {
|
||||
render: function () {
|
||||
|
||||
var date = this.model.get(this.column.get('name'));
|
||||
this.$el.html(Date.create(date).relative());
|
||||
var date = this.model.get(this.column.get('name'));
|
||||
this.$el.html(Date.create(date).relative());
|
||||
|
||||
return this;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user