ellipsis.js
ellipsis.js copied to clipboard
Throws error while using with nested elements
When used with children elements the line below throws error because the i is already 0, above this line there is a conditional checking for the current index, but not for the previous.
https://github.com/glinford/ellipsis.js/blob/d133860840dc90b533cf36e1e228bdf17ed9373e/ellipsis.js#L288
Hi, sorry I'm not really maintaining this library.
Can you show me a sample test case or codepen or something when this breaks and I'll look into it.