mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
almost all js files are loaded using require.js
This commit is contained in:
parent
aed7b95245
commit
2407e33ea2
35 changed files with 570 additions and 717 deletions
|
@ -1,20 +1,8 @@
|
|||
"use strict";
|
||||
|
||||
Backgrid.Column.prototype.defaults = {
|
||||
name : undefined,
|
||||
label : undefined,
|
||||
sortable : true,
|
||||
editable : false,
|
||||
renderable: true,
|
||||
formatter : undefined,
|
||||
cell : undefined,
|
||||
headerCell: 'nzbDrone'
|
||||
};
|
||||
|
||||
|
||||
define([
|
||||
'app',
|
||||
'JsLibraries/backbone.backgrid.paginator'
|
||||
'backgrid',
|
||||
'backgrid.paginator'
|
||||
], function () {
|
||||
|
||||
NzbDrone.Shared.Grid.Pager = Backgrid.Extension.Paginator.extend({
|
||||
|
@ -153,4 +141,6 @@ define([
|
|||
return this;
|
||||
}
|
||||
});
|
||||
|
||||
return NzbDrone.Shared.Grid.Pager;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue