Merge pull request #33 from cobexer/fix-jpeg-export

clear canvas before rendering to allow jpeg export
This commit is contained in:
MoyuScript
2011-11-26 10:17:35 -08:00
3 changed files with 10 additions and 4 deletions

View File

@ -47,6 +47,7 @@ html2canvas.Parse = function (element, images, opts) {
children,
childrenLen;
options = html2canvas.Util.Extend(opts, options);
images = images || {};
@ -1238,4 +1239,4 @@ html2canvas.zContext = function(zindex) {
zindex: zindex,
children: []
};
};
};