better split logic for names starting with capitols eg: ABBob should split to AB Bob

This commit is contained in:
Sam
2013-09-04 15:02:04 +10:00
parent 9977f3098c
commit 61d3e43744
2 changed files with 23 additions and 6 deletions

View File

@ -199,5 +199,6 @@ test("breakUp", function(){
equal(b("HeMans"), "He Mans");
equal(b("he_man"), "he_ man");
equal(b("he11111"), "he 11111");
equal(b("HRCBob"), "HRC Bob");
});