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

17 lines
360 B
JavaScript
Raw Normal View History

define(function (require) {
2015-12-29 15:48:32 +00:00
"use strict";
2015-12-29 15:48:32 +00:00
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone'),
Log = require('app/models/log');
2015-12-29 15:48:32 +00:00
return Backbone.Collection.extend({
2015-12-29 15:48:32 +00:00
comparator: 'name',
model: Log,
url: '/api/logs/'
});
2015-12-29 15:48:32 +00:00
});