PageRenderTime 41ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/dashboard/app/scripts/collections/filter-collection.js

https://github.com/hnuzhoulin/calamari-clients
JavaScript | 16 lines | 12 code | 3 blank | 1 comment | 0 complexity | 82a970a2a3822e67daa9948054b8d3c4 MD5 | raw file
Possible License(s): Apache-2.0
  1. /*global define*/
  2. define([
  3. 'underscore',
  4. 'backbone',
  5. 'models/filter-model'
  6. ], function (_, Backbone, FilterModel) {
  7. 'use strict';
  8. var FilterCollection = Backbone.Collection.extend({
  9. model: FilterModel,
  10. idAttribute: 'index'
  11. });
  12. return FilterCollection;
  13. });