Skip to content
This repository

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

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 CHANGELOG.textile
Octocat-spinner-32 README.textile
Octocat-spinner-32 index.html
Octocat-spinner-32 jquery-1.4.2.min.js
Octocat-spinner-32 jquery.truncate-2.3.2.pack.js
Octocat-spinner-32 jquery.truncate.js
Octocat-spinner-32 styles.css
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.