Skip to content

Regression in Ember.String.classify in ~2.1 #13042

@cibernox

Description

@cibernox

In Ember 1.13 and 2.0, Ember.String.classify("be a teacher"); generates "BeATeacher"
In Ember 2.4, Ember.String.classify("be a teacher"); generates "BeA Teacher"

I've tracked the bug down to this commit: 85d725c

Here is a jsbing containing the both codes to see the issue. Switch between the old and new implementation by commenting/uncommentiong to see the error in action.

http://jsbin.com/xeloxuw/edit?js,console

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions