mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -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,24 +1,24 @@
|
|||
"use strict";
|
||||
define(['app', 'Logs/Model'], function () {
|
||||
NzbDrone.Logs.Collection = Backbone.PageableCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/log',
|
||||
model : NzbDrone.Logs.Model,
|
||||
define(['app', 'Logs/Model', 'backbone.pageable'], function (app, SeriesModel, PagableCollection) {
|
||||
NzbDrone.Logs.Collection = PagableCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/log',
|
||||
model: NzbDrone.Logs.Model,
|
||||
|
||||
state: {
|
||||
pageSize: 50,
|
||||
sortKey: "time",
|
||||
order: 1
|
||||
sortKey : "time",
|
||||
order : 1
|
||||
},
|
||||
|
||||
queryParams: {
|
||||
totalPages: null,
|
||||
totalPages : null,
|
||||
totalRecords: null,
|
||||
pageSize: 'pageSize',
|
||||
sortKey: "sortKey",
|
||||
order: "sortDir",
|
||||
directions: {
|
||||
pageSize : 'pageSize',
|
||||
sortKey : "sortKey",
|
||||
order : "sortDir",
|
||||
directions : {
|
||||
"-1": "asc",
|
||||
"1": "desc"
|
||||
"1" : "desc"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue