Closed gr2m closed 9 years ago
@gr2m To make sure the schema is right:
(tt) -> test1.test2@test3.org -> (t1t2) or (t1t3)?
Is there already a test for this? If not, where does it go? To describe( 'initials.addTo( name )',
?
I've added a test in https://github.com/gr2m/initials/issues/8
I'm not sure what you mean by this?
(tt) -> test1.test2@test3.org -> (t1t2) or (t1t3)?
thanks for the tests :) just want to know which letters are inserted?
so:
when you only add an email, the first letters of every word before the @
are used, so
initials('abc.def@xyz.org') === 'ad'
should become
test.test@test.org (tt) <test.test@test.org>
, but becomestest test test org (test.test@test.org <test.test@test.org>) <test.test@test.org>