renamed html2canvas.log to h2clog (minifies better)

renamed the html2canvas.canvasContext to h2cRenderContext,
it's used by both backends and thus not canvas specific
This commit is contained in:
MoyuScript
2012-02-25 19:58:04 +01:00
parent 0b1fb0dac7
commit 683742bfbe
6 changed files with 28 additions and 26 deletions

View File

@ -1002,7 +1002,7 @@ html2canvas.Parse = function (element, images, opts) {
}
}else{
html2canvas.log("html2canvas: Error loading background:" + background_image);
h2clog("html2canvas: Error loading background:" + background_image);
//console.log(images);
}
@ -1051,7 +1051,7 @@ html2canvas.Parse = function (element, images, opts) {
stack = {
ctx: html2canvas.canvasContext( docDim.width || w , docDim.height || h ),
ctx: h2cRenderContext( docDim.width || w , docDim.height || h ),
zIndex: zindex,
opacity: opacity * parentStack.opacity,
cssPosition: cssPosition
@ -1162,7 +1162,7 @@ html2canvas.Parse = function (element, images, opts) {
);
}else{
html2canvas.log("html2canvas: Error loading <img>:" + imgSrc);
h2clog("html2canvas: Error loading <img>:" + imgSrc);
}
break;
case "INPUT":