Skip to content

armgit / anime

Public Imported from GitHub
0

JavaScript animation engine

Change promise log message

Julian Garnier278e0066cc29
diff --git a/documentation/examples/direction-testing.html b/documentation/examples/direction-testing.html
index 97cf8ee8..8ea2a53c 100644
--- a/documentation/examples/direction-testing.html
+++ b/documentation/examples/direction-testing.html
@@ -83,8 +83,8 @@
params.complete = function() { testEl.classList.add('color-04') };
var animation = anime(params);
animation.finished.then(function() {
- promiseEl.value = 'Finished'
- console.log('Finished');
+ promiseEl.value = 'Promise resolved'
+ console.log('Promise resolved');
});
testEl.onclick = function() {
testEl.classList.remove('color-01');