added support for CORS images and option to create canvas as tainted

This commit is contained in:
Niklas von Hertzen
2012-03-01 19:44:25 +02:00
parent c86d12b915
commit 3ad49efa00
5 changed files with 65 additions and 33 deletions

View File

@ -19,7 +19,8 @@
setTimeout(function() {
$(document.body).html2canvas({
logging: true,
profile: true
profile: true,
useCORS: true
});
}, 100);
};