Permalink
Browse files

updated examples

  • Loading branch information...
1 parent d5f0c6d commit 6bc272eb7d08db20433b049b9c01e59ee28cadb8 @niklasvh committed Jan 30, 2013
Showing with 33 additions and 3 deletions.
  1. +1 −0 build/html2canvas.js
  2. +1 −1 build/html2canvas.min.js
  3. +31 −2 site/examples.html
View
@@ -2616,6 +2616,7 @@ _html2canvas.Util.Support = function (options, doc) {
};
};
window.html2canvas = function(elements, opts) {
+ elements = (elements.length) ? elements : [elements];
var queue,
canvas,
options = {
Oops, something went wrong.

0 comments on commit 6bc272e

Please sign in to comment.