mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-10 16:04:11 +02:00
Fix xhr check for safari.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
assert('console', win.console && isFn(win.console.log));
|
||||
assert('assign', win.Object && isFn(win.Object.assign));
|
||||
assert('promise', isFn(win.Promise));
|
||||
assert('xhr', isFn(win.XMLHttpRequest));
|
||||
// assert('xhr', isFn(win.XMLHttpRequest)); // is object in safari
|
||||
assert('xhr', win.XMLHttpRequest);
|
||||
}(this));
|
||||
/* eslint-enable */
|
||||
|
Reference in New Issue
Block a user