This commit is contained in:
go2rob 2021-04-27 18:02:02 +05:30
parent f1a5d00af2
commit 92702e8987
7 changed files with 4 additions and 28 deletions

View File

@ -2540,14 +2540,6 @@ var Cache = /** @class */ (function () {
}
img.src = src;
}
img.crossOrigin = 'anonymous';
img.setAttribute('crossOrigin', 'anonymous');
if (hasParamsRegex.test(src)) {
src = src + '&v=' + timeStamp;
}
else {
src = src + '?v=' + timeStamp;
}
img.src = src;
if (img.complete === true) {
// Inline XML images may fail to parse, throwing an Error later on

File diff suppressed because one or more lines are too long

8
dist/html2canvas.js vendored
View File

@ -2546,14 +2546,6 @@
}
img.src = src;
}
img.crossOrigin = 'anonymous';
img.setAttribute('crossOrigin', 'anonymous');
if (hasParamsRegex.test(src)) {
src = src + '&v=' + timeStamp;
}
else {
src = src + '?v=' + timeStamp;
}
img.src = src;
if (img.complete === true) {
// Inline XML images may fail to parse, throwing an Error later on

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -152,14 +152,6 @@ var Cache = /** @class */ (function () {
}
img.src = src;
}
img.crossOrigin = 'anonymous';
img.setAttribute('crossOrigin', 'anonymous');
if (hasParamsRegex.test(src)) {
src = src + '&v=' + timeStamp;
}
else {
src = src + '?v=' + timeStamp;
}
img.src = src;
if (img.complete === true) {
// Inline XML images may fail to parse, throwing an Error later on

File diff suppressed because one or more lines are too long