We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5333eb commit 5f6ac4cCopy full SHA for 5f6ac4c
lib/web/mage/requirejs/text.js
@@ -89,15 +89,16 @@ define(['module'], function (module) {
89
header,
90
errorHandler = fail || Function();
91
92
- /*eslint max-depth:0*/
+ /*eslint-disable max-depth */
93
if ('setRequestHeader' in xhr && headers) {
94
for (header in headers) {
95
if (headers.hasOwnProperty(header)) {
96
xhr.setRequestHeader(header.toLowerCase(), headers[header]);
97
}
98
99
100
- /*eslint max-depth:[2, 2]*/
+
101
+ /*eslint-enable max-depth */
102
103
if (defaultConfig.onXhr) {
104
defaultConfig.onXhr(xhr, url);
@@ -114,6 +115,7 @@ define(['module'], function (module) {
114
115
defaultConfig.onXhrComplete(xhr, url);
116
117
};
118
119
/**
120
* onerror handler
121
*/
0 commit comments