/dashboard/app/scripts/collections/cluster-collection.js
JavaScript | 13 lines | 8 code | 3 blank | 2 comment | 0 complexity | b7263a40accf36a40b5f51756599d41f MD5 | raw file
Possible License(s): Apache-2.0
- /*jshint -W106*/
- /*global define*/
- define(['underscore', 'backbone', 'models/cluster-model'], function(_, Backbone, clusterModel) {
- 'use strict';
- var ClusterCollection = Backbone.Collection.extend({
- url: '/api/v1/cluster',
- model: clusterModel
- });
- return ClusterCollection;
- });