aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html')
-rw-r--r--files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html b/files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
index 41d0231381..7291e23e2b 100644
--- a/files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
+++ b/files/fr/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
@@ -32,7 +32,7 @@ translation_of: Web/API/CanvasRenderingContext2D/globalCompositeOperation
<h4 id="JavaScript">JavaScript</h4>
-<pre class="brush: js; highlight[4]">const canvas = document.getElementById('canvas');
+<pre class="brush: js">const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
ctx.globalCompositeOperation = 'xor';