arma-server-web-admin/public/js/app/models/mission.js

18 lines
332 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
return Backbone.Model.extend({
defaults: {
name: ''
},
idAttribute: 'name',
urlRoot: '/api/missions/',
});
});