1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

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
+18 -14
View File
@@ -1,22 +1,26 @@
'use strict';
define(
[
'backgrid'
], function (Backgrid) {
require(['app', 'backgrid'], function () {
NzbDrone.Release.ApprovalStatusCell = Backgrid.Cell.extend({
className: 'approval-status-cell',
return Backgrid.Cell.extend({
render: function () {
var rejections = this.model.get(this.column.get('name'));
className: 'approval-status-cell',
var result = '';
render: function () {
var rejections = this.model.get(this.column.get('name'));
_.each(rejections, function (reason) {
result += reason + ' ';
});
var result = '';
this.$el.html(result);
this.delegateEvents();
return this;
}
_.each(rejections, function (reason) {
result += reason + ' ';
});
this.$el.html(result);
this.delegateEvents();
return this;
}
});
});
});