/dashboard/app/scripts/collections/filter-collection.js
JavaScript | 16 lines | 12 code | 3 blank | 1 comment | 0 complexity | 82a970a2a3822e67daa9948054b8d3c4 MD5 | raw file
Possible License(s): Apache-2.0
- /*global define*/
- define([
- 'underscore',
- 'backbone',
- 'models/filter-model'
- ], function (_, Backbone, FilterModel) {
- 'use strict';
- var FilterCollection = Backbone.Collection.extend({
- model: FilterModel,
- idAttribute: 'index'
- });
- return FilterCollection;
- });