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.
14 lines
303 B
14 lines
303 B
var Backbone = require('backbone');
|
|
var ProfileModel = require('./ProfileModel');
|
|
|
|
var ProfileCollection = Backbone.Collection.extend({
|
|
model : ProfileModel,
|
|
url : window.NzbDrone.ApiRoot + '/profile'
|
|
});
|
|
|
|
var profiles = new ProfileCollection();
|
|
|
|
profiles.fetch();
|
|
|
|
module.exports = profiles;
|