Closed cltrudeau closed 9 years ago
example:
$('too-long').trunk8({ wordBoundary:' -', });
The above would use space or hyphen as a word boundary and after the bite search is run backs the string up until it finds a boundary character.
Concerned about adding another O(n) operation. Also, code needs to match existing formatting conventions to be merged.
example:
$('too-long').trunk8({ wordBoundary:' -', });
The above would use space or hyphen as a word boundary and after the bite search is run backs the string up until it finds a boundary character.