| 1 2 3 4 5 6 7 8 9 10 11 12 | 1 1 4 1 | define(['./truncate'], function (truncate) {
/**
* Truncate string at full words.
* @version 0.1.0 (2011/10/31)
*/
function crop(str, maxChars, append) {
return truncate(str, maxChars, append, true);
}
return crop;
});
|