From 0fbd72357cf695ce199be067606f7e148a7b64be Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Mon, 29 May 2023 19:58:03 -0400 Subject: [PATCH] docs: fix spacing in code block [skip ci] --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f6d820f..aa4ea66 100644 --- a/README.md +++ b/README.md @@ -191,15 +191,15 @@ a { Allow to set custom easings: ```js - require('postcss-spring-easing').default({ - easings: { - bounceOut: t => { - let pow2, b = 4; - while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) { } - return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2); - }, - } - }) +require('postcss-spring-easing').default({ + easings: { + bounceOut: t => { + let pow2, b = 4; + while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) { } + return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2); + }, + } +}) ``` The plugin will convert custom easing name between camelCase and snake-case. -- 2.54.0