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

18 lines
330 B
JavaScript
Raw Normal View History

2014-02-09 03:19:48 +00:00
define(function (require) {
2014-04-06 23:46:06 +00:00
2014-02-09 03:19:48 +00:00
"use strict";
2014-04-06 23:46:06 +00:00
2014-02-09 03:19:48 +00:00
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
2014-04-06 23:46:06 +00:00
2014-02-09 03:19:48 +00:00
return Backbone.Model.extend({
defaults: {
path: '',
2014-04-06 23:46:06 +00:00
type: 'windows',
2014-02-09 03:19:48 +00:00
},
urlRoot : '/api/settings'
});
2014-04-06 23:46:06 +00:00
});