mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
examples: fix duplication (#2813)
This commit is contained in:
parent
f7c2289db1
commit
6020386bbe
@ -29,8 +29,6 @@
|
|||||||
var canvas = document.querySelector("canvas");
|
var canvas = document.querySelector("canvas");
|
||||||
var ctx = canvas.getContext("2d");
|
var ctx = canvas.getContext("2d");
|
||||||
|
|
||||||
var ctx = canvas.getContext('2d');
|
|
||||||
|
|
||||||
ctx.beginPath();
|
ctx.beginPath();
|
||||||
ctx.arc(75,75,50,0,Math.PI*2,true); // Outer circle
|
ctx.arc(75,75,50,0,Math.PI*2,true); // Outer circle
|
||||||
ctx.moveTo(110,75);
|
ctx.moveTo(110,75);
|
||||||
|
Loading…
Reference in New Issue
Block a user