mirror of
https://github.com/adobe/brackets.git
synced 2024-11-20 09:53:00 +01:00
- remove trailing whitespace
This commit is contained in:
parent
ca1cb40be5
commit
f099539049
@ -194,13 +194,13 @@ define(function (require, exports, module) {
|
||||
// When loading data for unit tests, the error handler is
|
||||
// called but the responseText is valid. Try to use it here,
|
||||
// but *don't* save the results in prefs.
|
||||
|
||||
|
||||
if (!jqXHR.responseText) {
|
||||
// Text is NULL or empty string, reject().
|
||||
result.reject();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
data = JSON.parse(jqXHR.responseText);
|
||||
result.resolve(data);
|
||||
@ -212,7 +212,7 @@ define(function (require, exports, module) {
|
||||
} else {
|
||||
result.resolve(data);
|
||||
}
|
||||
|
||||
|
||||
return result.promise();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user