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.
19 lines
432 B
19 lines
432 B
'use strict';
|
|
define(
|
|
[
|
|
'backbone',
|
|
'Quality/QualityProfileModel'
|
|
], function (Backbone, QualityProfileModel) {
|
|
|
|
var QualityProfileCollection = Backbone.Collection.extend({
|
|
model: QualityProfileModel,
|
|
url : window.ApiRoot + '/qualityprofiles'
|
|
});
|
|
|
|
var profiles = new QualityProfileCollection();
|
|
|
|
profiles.fetch();
|
|
|
|
return profiles;
|
|
});
|