jquery.plugin.html2canvas: add profiling option, tests: enable profiling

in case you run the tests in firefox and have firebug installed and
active you now get a profiling run of html2canvas ;)
This commit is contained in:
Obexer Christoph
2012-02-04 15:32:09 +01:00
parent 8bbbace790
commit bbd75286a8
2 changed files with 16 additions and 12 deletions

View File

@ -18,8 +18,9 @@
}
setTimeout(function() {
$(document.body).html2canvas({
logging: true
logging: true,
profile: true
});
}, 100);
};
}(document, window));
}(document, window));