From 0ca8f2dc7c74c9e76b93bc378dad8b1cc1590dad Mon Sep 17 00:00:00 2001 From: KonScyence Date: Sun, 24 Feb 2019 09:54:13 -0500 Subject: [PATCH] Fixed the name of the function in README.md (#915) `animateCss` to `animateCSS` because that's what is used as an example after. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 237f8c8..a81c935 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ element.addEventListener('animationend', function() { doSomething() }) You can use this simple function to add and remove the animations: ```javascript -function animateCss(element, animationName, callback) { +function animateCSS(element, animationName, callback) { const node = document.querySelector(element) node.classList.add('animated', animationName)