mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Add google maps test
This commit is contained in:
@ -115,13 +115,17 @@ var h2cSelector, h2cOptions;
|
||||
window.setUp();
|
||||
}
|
||||
|
||||
setTimeout(function() {
|
||||
window.run = function() {
|
||||
$(h2cSelector).html2canvas($.extend({
|
||||
logging: true,
|
||||
profile: true,
|
||||
proxy: "http://localhost:8082",
|
||||
useCORS: false
|
||||
}, h2cOptions));
|
||||
}, 100);
|
||||
};
|
||||
|
||||
if (typeof(dontRun) === "undefined") {
|
||||
setTimeout(window.run, 100);
|
||||
}
|
||||
};
|
||||
}(document, window));
|
||||
|
Reference in New Issue
Block a user