Update ajax setup function to conform with code style

Change-Id: I3b5ddb81b42ab914319438e2768863c72b376092
This commit is contained in:
Nate Potter 2016-10-17 13:24:16 -07:00
parent abd5b56d43
commit 303b7386ce

View File

@ -3,8 +3,7 @@ var util = require('./util.js');
// Base64 username:password on client-side, and append into request header
$.ajaxSetup({
beforeSend: function (xhr)
{
beforeSend: function(xhr) {
xhr.setRequestHeader('Authorization',
'Basic ' + btoa(config.username + ':' + config.password));
}