canvas-confetti
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
// canvas-confetti v1.9.2 built on 2023-11-25T06:01:06.267Z | ||
// canvas-confetti v1.9.3 built on 2024-04-30T22:19:17.794Z | ||
!(function (window, module) { | ||
@@ -689,3 +689,5 @@ // source content | ||
if (isLibCanvas && canvas) { | ||
document.body.removeChild(canvas); | ||
if (document.body.contains(canvas)) { | ||
document.body.removeChild(canvas); | ||
} | ||
canvas = null; | ||
@@ -692,0 +694,0 @@ initialized = false; |
{ | ||
"name": "canvas-confetti", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "performant confetti animation in the browser", | ||
@@ -5,0 +5,0 @@ "main": "src/confetti.js", |
@@ -33,3 +33,3 @@ # [](https://github.com/catdad/canvas-confetti/) | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.2/dist/confetti.browser.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.3/dist/confetti.browser.min.js"></script> | ||
``` | ||
@@ -36,0 +36,0 @@ |
@@ -686,3 +686,5 @@ /* globals Map */ | ||
if (isLibCanvas && canvas) { | ||
document.body.removeChild(canvas); | ||
if (document.body.contains(canvas)) { | ||
document.body.removeChild(canvas); | ||
} | ||
canvas = null; | ||
@@ -689,0 +691,0 @@ initialized = false; |
Sorry, the diff of this file is not supported yet
92343
0.21%2205
0.27%