arma-server-web-admin/public/js/app/models/gamespy.js
2014-04-08 23:49:40 +02:00

20 lines
403 B
JavaScript

define(function (require) {
"use strict";
var $ = require('jquery'),
_ = require('underscore'),
Backbone = require('backbone');
return Backbone.Model.extend({
initialize: function(attributes, options) {
this.server = options.server;
},
url : function(){
return this.server.url() + '/gamespy';
}
});
});