mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
Semicolons
This commit is contained in:
parent
56320588da
commit
0295f5a487
@ -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);
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user