Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Truncate is a JavaScript plugin built for the jQuery library. It conserves space, preserves HTML, and is only 3KB.
branch: master

Merge pull request #1 from noinput/patch-1

changed a few $'s to jQuery's for compatibility
latest commit 248132fd51
Philippe Lafoucrière authored

README.textile

jQuery Truncate

This repo is a fork from the jQuery Truncate lib from Brian Reindel.

I’ve corrected a bug when truncated text doesn’t have any space. I’m really not a javascript expert, feel free to correct / improve this code !

Something went wrong with that request. Please try again.