mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix travis segfault
This commit is contained in:
parent
503add6e2f
commit
f3f92ab425
@ -53,7 +53,7 @@
|
|||||||
function getPixelArray(base64) {
|
function getPixelArray(base64) {
|
||||||
return Bacon.fromCallback(function(callback) {
|
return Bacon.fromCallback(function(callback) {
|
||||||
var arraybuffer = base64_arraybuffer.decode(base64);
|
var arraybuffer = base64_arraybuffer.decode(base64);
|
||||||
(new PNG(arraybuffer)).decode(callback);
|
(new PNG(arraybuffer)).decodePixels(callback);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user