1
0
mirror of https://github.com/niklasvh/html2canvas.git synced 2023-08-10 21:13:10 +03:00

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

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