mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-07 09:53:38 +00:00
19 lines
307 B
JavaScript
Executable File
19 lines
307 B
JavaScript
Executable File
const Backbone = require('backbone');
|
|
|
|
const model = Backbone.Model.extend({
|
|
idAttribute: 'id',
|
|
|
|
defaults: function () {
|
|
return {
|
|
name: ''
|
|
};
|
|
}
|
|
});
|
|
|
|
module.exports = {
|
|
Model: model,
|
|
Collection: Backbone.Collection.extend({
|
|
model: model
|
|
})
|
|
};
|