From 57cdeaeb6343f2460576244febeebd4ef23c78a1 Mon Sep 17 00:00:00 2001 From: Deniz Susman <39295979+DenrizSusam@users.noreply.github.com> Date: Mon, 28 Jan 2019 10:10:03 +0300 Subject: [PATCH] Typo fixes in doc Typo fixes in readme.md (one of the comments in the example of "compactInteger", explanation of "times" and "capitalizeAll") --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2eb3ecb..cc71620 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Converts an integer into its most compact representation. Decimal precision is i Humanize.compactInteger(123456789, 1) // "123.5M" -// Switch to scientific notation for trillons, because no one knows those abbreviations. +// Switch to scientific notation for trillions, because no one knows those abbreviations. Humanize.compactInteger(-7832186132456328967, 4) // "-7.8322x10^18" @@ -115,7 +115,7 @@ Humanize.ordinal(22) ``` ##### times -Interprets numbers as occurences. Also accepts an optional array/map of overrides. +Interprets numbers as occurrences. Also accepts an optional array/map of overrides. ```javascript for (i=0; i<5; i++) { @@ -231,7 +231,7 @@ Humanize.capitalize("wHoOaA!", true) ``` ##### capitalizeAll -Captializes the first letter of every word in a string. +Capitalizes the first letter of every word in a string. ```javascript Humanize.capitalizeAll("some boring string")