@litejs/ui 23.3.4 → 23.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/load.js +2 -2
- package/package.json +1 -1
package/load.js
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
// if (sessionID) xhr.setRequestHeader("Cookie", sessionID);
|
|
120
120
|
// if (xhr.getResponseHeader("Set-Cookie")) sessionID = xhr.getResponseHeader("Set-Cookie");
|
|
121
121
|
|
|
122
|
-
xhr.open(method, url, next !== true)
|
|
122
|
+
xhr.open(method, rewrite[url] || url, next !== true)
|
|
123
123
|
|
|
124
124
|
// With IE 8 XMLHttpRequest gains the timeout property.
|
|
125
125
|
// With the timeout property, Web developers can specify
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
, len = files && files.length
|
|
223
223
|
, res = []
|
|
224
224
|
|
|
225
|
-
for (; i < len; i++) if ((file = files[i]) && 2 !== loaded[file
|
|
225
|
+
for (; i < len; i++) if ((file = files[i]) && 2 !== loaded[file]) {
|
|
226
226
|
if (loaded[file]) {
|
|
227
227
|
// Same file requested again
|
|
228
228
|
;(loaded[file].x || (loaded[file].x = [])).push(cb, file, i)
|