Add google maps test

This commit is contained in:
Niklas von Hertzen
2014-09-27 20:20:08 +03:00
parent fa659ad1df
commit 1e19832171
5 changed files with 52 additions and 7 deletions

View File

@ -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));