Source: idol-databases-collection.js

/*
 * Copyright 2015-2017 Hewlett Packard Enterprise Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

/**
 * @module databases-view/js/idol-databases-collection
 */
define([
    'backbone'
], function(Backbone) {
    'use strict';

    /**
     * @name module:databases-view/js/idol-databases-collection.DatabasesCollection
     * @desc Collection representing a set of Idol databases. Each model must have a name attribute.
     * @constructor
     * @extends Backbone.Collection
     */
    return Backbone.Collection.extend(/** @lends module:databases-view/js/idol-databases-collection.DatabasesCollection.prototype */{
        modelId: function(attributes) {
            return attributes.name;
        }
    });
});
Copyright 2015-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.5.5 on Fri Jun 22nd 15:21 2018 using the DocStrap template.