Skip to content

capitalize rules are too aggressive #396

@GavinJoyce

Description

@GavinJoyce

Looking at the tests and implementation, it seems that characters following forward slashes are meant to be capitalized:

"privateDocs/ownerInvoice".capitalize() => "PrivateDocs/OwnerInvoice"

This also currently happens for multiple forward slashes though which seems like a bug to me:

"the url is http://www.ember.com/".capitalize() => "The url is http://Www.ember.com/"
(note the Www)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions