arma-server-web-admin/public/js/app/collections/missions.js

10 lines
237 B
JavaScript

var Backbone = require('backbone')
var Mission = require('app/models/mission')
module.exports = Backbone.Collection.extend({
comparator: function(item) { item.get('name').toLowerCase() },
model: Mission,
url: '/api/missions/'
})