arma-server-web-admin/public/js/app/collections/mods.js
2015-12-29 16:50:34 +01:00

17 lines
360 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone'),
Mod = require('app/models/mod');
return Backbone.Collection.extend({
comparator: 'name',
model: Mod,
url: '/api/mods/'
});
});