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

18 lines
327 B
JavaScript
Raw Normal View History

2014-02-09 03:19:48 +00:00
define(function (require) {
2014-04-08 20:59:59 +00:00
2014-02-09 03:19:48 +00:00
"use strict";
2014-04-08 20:59:59 +00:00
2014-02-09 03:19:48 +00:00
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
2014-04-08 20:59:59 +00:00
2014-02-09 03:19:48 +00:00
return Backbone.Model.extend({
defaults: {
title: '',
state: null,
2014-02-14 01:16:05 +00:00
},
2014-04-08 20:59:59 +00:00
urlRoot: '/api/servers/',
2014-02-09 03:19:48 +00:00
});
2014-04-08 20:59:59 +00:00
});