Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Remove arrow function for better browser compatibility

Julian Garnier72271554a38e
diff --git a/documentation/index.html b/documentation/index.html
index 706402b2..fc7d70ec 100644
--- a/documentation/index.html
+++ b/documentation/index.html
@@ -1340,7 +1340,7 @@ function logFinished() {
finishedLogEl.value = 'Promise resolved';
// Rebind the promise, since this demo can be looped.
- setTimeout(() => {
+ setTimeout(function() {
promise = finishedPromise.finished.then(logFinished);
});
}