PageRenderTime 37ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/scripts/collections/groups.js

https://github.com/kuzbida/backgrid_test
JavaScript | 16 lines | 12 code | 3 blank | 1 comment | 0 complexity | 63624ed5d8a90fad93a25a10808c5310 MD5 | raw file
Possible License(s): MIT
  1. /*global define*/
  2. define([
  3. 'underscore',
  4. 'backbone',
  5. 'models/groups'
  6. ], function (_, Backbone, GroupModel) {
  7. 'use strict';
  8. var GroupsCollection = Backbone.Collection.extend({
  9. model: GroupsModel,
  10. url:'../../json/groups.json'
  11. });
  12. return GroupsCollection;
  13. });