PageRenderTime 46ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Oro/Bundle/SidebarBundle/Resources/public/js/widget-container/collection.js

https://github.com/diimpp/platform
JavaScript | 19 lines | 9 code | 3 blank | 7 comment | 0 complexity | 0540b028d9338faf05a52489e01c9d80 MD5 | raw file
  1. /*jslint nomen: true, vars: true*/
  2. /*global define*/
  3. define(function (require) {
  4. 'use strict';
  5. var Backbone = require('backbone');
  6. var WidgetContainerModel = require('./model');
  7. /**
  8. * @export orosidebar/js/widget-container/collection
  9. * @class orosidebar.widgetContainer.Collection
  10. * @extends Backbone.Collection
  11. */
  12. return Backbone.Collection.extend({
  13. model: WidgetContainerModel,
  14. comparator: 'position'
  15. });
  16. });