bug fixes, and further simplification of API

This commit is contained in:
Niklas von Hertzen
2012-03-02 19:07:15 +02:00
parent c7d526c9ea
commit cad3be2c66
5 changed files with 20 additions and 32 deletions

View File

@@ -12,7 +12,6 @@
timeoutTimer = false,
timer = date.getTime();
options = options || {};
options.elements = this;
options.onrendered = function( canvas ) {
var $canvas = $(canvas),
@@ -45,7 +44,7 @@
}
};
html2obj = html2canvas(this[0], options);
html2obj = html2canvas(this, options);
function throwMessage(msg,duration){
window.clearTimeout(timeoutTimer);