Closed rviscomi closed 12 years ago
Supplying an integer to the "width" setting should truncate all but that number of characters. For example:
// <span class="too-long">Example</span> $('.too-long').trunk8({width: 3}); // Exa...
Instead, the width setting is incorrectly used as the number of characters to truncate. For example:
// <span class="too-long">Example</span> $('.too-long').trunk8({width: 3}); // Exam...
Fixed in 1.2
Supplying an integer to the "width" setting should truncate all but that number of characters. For example:
Instead, the width setting is incorrectly used as the number of characters to truncate. For example: