Skip to content

Commit

Permalink
Move sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterTeng committed Mar 3, 2017
1 parent a34683d commit 72bdcb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ pluralize('test', 1) //=> "test"
pluralize('test', 5) //=> "tests"
pluralize('test', 1, true) //=> "1 test"
pluralize('test', 5, true) //=> "5 tests"
pluralize('蘋果', 2, true) //=> "2 蘋果"

pluralize.plural('regex') //=> "regexes"
pluralize.addPluralRule(/gex$/i, 'gexii')
Expand All @@ -63,8 +64,6 @@ pluralize.plural('irregular') //=> "regular"
pluralize.plural('paper') //=> "papers"
pluralize.addUncountableRule('paper')
pluralize.plural('paper') //=> "paper"

pluralize('蘋果', 2, true) //=> "2 蘋果"
```

## License
Expand Down

0 comments on commit 72bdcb7

Please sign in to comment.