Added backbone

This commit is contained in:
Mark McDowall
2012-11-06 16:41:34 -08:00
parent b366f8fadc
commit b101758957
28 changed files with 5507 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
window.ProfileCollection = Backbone.Collection.extend({
model: Profile,
url: '/api/qualityprofiles',
search: function (searchTerm, options) {
var self = this;
this.fetch({
success: function () {
if (options.success) {
options.success();
}
}
});
}
});