Files
pathfinder/js/app/client.js
2014-10-26 21:51:04 +01:00

32 lines
622 B
JavaScript

/**
* Client
*/
define(["jquery"], function($) {
"use strict";
// client object
function Client(){}
var getClient = function(){
var headerData = getHeaderData();
};
// private functions ========================================================
var getHeaderData = function(){
console.log('TERST');
$.ajax({
url: 'http://localhost/exodus4d/pathfinder/',
headers:{'foo':'bar'},
complete: function() {
alert(this.headers.foo);
}
});
};
return {
getClient: getClient
};
});