@kovaci/html2canvas
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -104,2 +104,3 @@ "use strict"; | ||
this._cache[src] = this.loadImage(src); | ||
console.log('cached', this._cache[src]); | ||
return result; | ||
@@ -141,6 +142,8 @@ } | ||
var img = new Image(); | ||
console.log('creating new Img'); | ||
img.onload = function () { return resolve(img); }; | ||
img.onerror = function () { | ||
img.src = ''; | ||
resolve(img); | ||
var minimalGif = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='; | ||
img.src = minimalGif; | ||
return resolve(img); | ||
}; | ||
@@ -147,0 +150,0 @@ //ios safari 10.3 taints canvas with data urls unless crossOrigin is set to anonymous |
@@ -9,3 +9,3 @@ { | ||
"browser": "dist/html2canvas.js", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"author": { | ||
@@ -12,0 +12,0 @@ "name": "Niklas von Hertzen", |
@@ -14,2 +14,11 @@ html2canvas | ||
> (https://github.com/crcastle/html2canvas is a fork from https://github.com/niklasvh/html2canvas and adds supports for shadow dom) | ||
> | ||
> BugFixes list: | ||
>> Add inline style for each cloned element | ||
>> | ||
>> Fix css display: grid | ||
>> | ||
>> Fix for malformed ing src | ||
>> | ||
>> Fix gradient svg in Safari not shown correctly | ||
@@ -16,0 +25,0 @@ #### JavaScript HTML renderer #### |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3028785
25386
87