added schema generation

This commit is contained in:
kay.one 2013-04-30 23:43:14 -07:00 committed by Keivan Beigi
parent e8c832ac18
commit a66d43b806
11 changed files with 150 additions and 15 deletions

View file

@ -1,13 +1,5 @@
"use strict";
define(['app'], function (app) {
define(['app'], function () {
NzbDrone.Settings.Indexers.Model = Backbone.DeepModel.extend({
mutators: {
fields: function () {
return [
{ key: 'username', title: 'Username', helpText: 'HALP!', value: 'mark', index: 0 },
{ key: 'apiKey', title: 'API Key', helpText: 'HALP!', value: '', index: 1 }
];
}
}
});
});