You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/UI/AddSeries/Collection.js

22 lines
500 B

"use strict";
12 years ago
define(
[
'app',
12 years ago
'backbone',
'Series/SeriesModel'
], function (App, Backbone, SeriesModel) {
return Backbone.Collection.extend({
url : Constants.ApiRoot + '/series/lookup',
model: SeriesModel,
12 years ago
parse: function (response) {
12 years ago
_.each(response, function (model) {
model.id = undefined;
});
12 years ago
return response;
}
});
});