1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00

- remove trailing whitespace

This commit is contained in:
Ingo Richter 2014-05-06 16:03:54 -07:00
parent ca1cb40be5
commit f099539049

View File

@ -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();
}