Skip to content

Commit 0fbd723

Browse files
authored
docs: fix spacing in code block [skip ci]
1 parent 266f50d commit 0fbd723

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,15 @@ a {
191191
Allow to set custom easings:
192192

193193
```js
194-
require('postcss-spring-easing').default({
195-
easings: {
196-
bounceOut: t => {
197-
let pow2, b = 4;
198-
while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) { }
199-
return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2);
200-
},
201-
}
202-
})
194+
require('postcss-spring-easing').default({
195+
easings: {
196+
bounceOut: t => {
197+
let pow2, b = 4;
198+
while (t < ((pow2 = Math.pow(2, --b)) - 1) / 11) { }
199+
return 1 / Math.pow(4, 3 - b) - 7.5625 * Math.pow((pow2 * 3 - 2) / 22 - t, 2);
200+
},
201+
}
202+
})
203203
```
204204

205205
The plugin will convert custom easing name between camelCase and snake-case.

0 commit comments

Comments
 (0)