Updated examples

This commit is contained in:
Angelos Chalaris
2017-12-27 16:06:16 +02:00
committed by Agamemnon Zorbas
parent 99a07d22dd
commit 97c250bcfb
101 changed files with 155 additions and 140 deletions

View File

@ -13,9 +13,9 @@ const toKebabCase = str =>
```
```js
toKebabCase("camelCase") -> 'camel-case'
toKebabCase("some text") -> 'some-text'
toKebabCase("some-mixed_string With spaces_underscores-and-hyphens") -> 'some-mixed-string-with-spaces-underscores-and-hyphens'
toKebabCase("AllThe-small Things") -> "all-the-small-things"
toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') -> "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-xml-and-html"
toKebabCase("camelCase") // 'camel-case'
toKebabCase("some text") // 'some-text'
toKebabCase("some-mixed_string With spaces_underscores-and-hyphens") // 'some-mixed-string-with-spaces-underscores-and-hyphens'
toKebabCase("AllThe-small Things") // "all-the-small-things"
toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') // "i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-xml-and-html"
```