removed NzbDrone. namespace, everything is done using require.

This commit is contained in:
Keivan Beigi 2013-06-24 16:41:59 -07:00
parent ef62af75df
commit b0bd3f34f1
121 changed files with 2570 additions and 2587 deletions

View file

@ -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;
}
});
});
});