arma-server-web-admin/public/js/app/models/server.js
2015-02-14 11:16:41 +01:00

27 lines
523 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
return Backbone.Model.extend({
defaults: {
admin_password: '',
battle_eye: false,
headless: false,
max_players: null,
mods: [],
password: '',
persistent: false,
port: 2302,
state: null,
title: '',
von: false,
},
urlRoot: '/api/servers/',
});
});