Allow element node to be passed

This commit is contained in:
Niklas von Hertzen 2013-01-30 20:12:25 +02:00
parent 8ddf10fc04
commit b2df50a858

View File

@ -1,4 +1,5 @@
window.html2canvas = function(elements, opts) {
elements = (elements.length) ? elements : [elements];
var queue,
canvas,
options = {