Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

default parameters undefined -> null

Julian Garnierf253338821d2
diff --git a/anime.js b/anime.js
index 271444e4..e827ab06 100644
--- a/anime.js
+++ b/anime.js
@@ -25,10 +25,10 @@
// Defaults
const defaultInstanceSettings = {
- update: undefined,
- begin: undefined,
- run: undefined,
- complete: undefined,
+ update: null,
+ begin: null,
+ run: null,
+ complete: null,
loop: 1,
direction: 'normal',
autoplay: true,