Correctly use native rendering with inline <svg> nodes if possible

This commit is contained in:
MoyuScript
2014-09-20 20:21:25 +03:00
parent bc08edc340
commit c1ea1206e3
6 changed files with 52 additions and 9 deletions

View File

@ -16,7 +16,9 @@ var h2cSelector, h2cOptions;
['/tests/assets/jquery-1.6.2'].concat(window.location.search === "?selenium" ? ['/dist/html2canvas'] : sources.map(function(src) { return '/src/' + src; })).forEach(appendScript);
appendScript('/dist/html2canvas.svg');
if (typeof(noFabric) === "undefined") {
appendScript('/dist/html2canvas.svg');
}
window.onload = function() {
(function( $ ){