Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fixes in doc #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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++) {
Expand Down Expand Up @@ -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")
Expand Down