Semicolons

This commit is contained in:
Thomas Kluyver 2014-11-13 12:30:26 -08:00
parent 56320588da
commit 0295f5a487

View File

@ -598,11 +598,11 @@ define([
return new Promise(function(resolve, reject) {
settings.success = function(data, status, jqXHR) {
resolve(data);
}
};
settings.error = function(jqXHR, status, error) {
log_ajax_error(jqXHR, status, error);
reject(wrap_ajax_error(jqXHR, status, error));
}
};
$.ajax(url, settings);
});
};