Closed marijngiesen closed 6 years ago
Thanks.
It's impossible to check the diff of the js file because it seems you've changed the spacing of the file (tabs/spaces). Can you fix that?
Oh, haha yeah I see. My IDE found it was necessary to do that. I'll look into it.
Still not great, but better readable. I hope you can see the changes I've made now. I'll fix the indentation more after you've reviewed it.
Any thoughts?
Sorry, it's still too difficult to read as-is. I'd really only like to see a diff of your changes.
Ok, the formatting should be the way it was. You do use some strange indenting rules by the way..
I agree with the goal of this patch, but I think it requires the user to do too much, creating elements with specific CSS properties. It just feels fragile.
Ok, no problem. I'm not using the lib anymore, so I'll just close this.
This adds support for truncation in hidden elements, so that truncation doesn't cause page 'jumps'. After truncating the hidden element, the element will be cloned and the original rendered content will be overwritten. See README.md for a short explanation.