use element instead of element-array in examples

This commit is contained in:
Niklas von Hertzen 2013-08-04 16:03:47 +03:00
parent f0e234a1d8
commit 5300f20b78
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@
</p>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
html2canvas( [ document.body ], {
html2canvas(document.body, {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}

View File

@ -55,7 +55,7 @@
</div>
<script type="text/javascript" src="../build/html2canvas.js"></script>
<script type="text/javascript">
html2canvas( [ document.body ], {
html2canvas(document.body, {
onrendered: function(canvas) {
document.body.appendChild(canvas);
}