arma-server-web-admin/public/js/app/models/server.js
2015-01-16 23:09:53 +01:00

26 lines
500 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,
max_players: null,
mods: [],
password: '',
persistent: false,
port: 2302,
state: null,
title: '',
von: false,
},
urlRoot: '/api/servers/',
});
});