openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
T
truncate.js
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
1 day
ago. based on code collected
1 day
ago.
Jan 08, 2025 — Jan 08, 2026
Showing page 1 of 2
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
JSLint
Brendan Brelsford
More...
almost 11 years ago
Adds configurable showClass and hideClass options.
Brendan Brelsford
More...
almost 11 years ago
Update README.md
gitastrophe
More...
almost 11 years ago
Adds link to Github Pages URL
gitastrophe
More...
almost 11 years ago
Update README.md
gitastrophe
More...
almost 11 years ago
Removes erroneous console.log call.
Brendan Brelsford
More...
almost 11 years ago
Adds variant methods for calculating the desired height and maximum allowable height of a truncated element using numLines and lineHeight. Browsers implement different rounding rules for determining the final height of an element based on these quantities.
Brendan Brelsford
More...
almost 11 years ago
Adds documentation regarding the timing of truncation with respect to web font loading. Updates copyright.
Brendan Brelsford
More...
almost 11 years ago
Merge pull request #1 from joncampbell/master
gitastrophe
More...
over 11 years ago
In <=IE9, when line-heights are specified without units (i.e. line-height: 1.5;), IE returns 1.5 instead of the converted pixel value. In this cause, we should calculate the line-height ourselves based on the font-size.
Jon Campbell
More...
over 11 years ago
adds logic to allow processing of 'normal' line-height as 1.14 * font-size
Brendan Brelsford
More...
over 11 years ago
Merge branch 'master' of github.com:gitastrophe/truncate.js
Brendan Brelsford
More...
over 11 years ago
- adds cumulative execution time debug logging - fixes an infinite loop in closestBlockLevelAncestor - adds support for fractional line-height - fixes rare cases where dopple text element would produce an imperfectly cloned display, resulting in incorrect truncation - adds “getOriginalHtml” method to obtain original un-truncated HTML - enhances debug logging to simulate logging an array of objects in IE - removes unnecessary semicolon after Truncate function definition
Brendan Brelsford
More...
over 11 years ago
Update jquery.truncate.js
gitastrophe
More...
about 12 years ago
fixes IE browser detection failure
Brendan Brelsford
More...
about 12 years ago
- replaces usage of $.browser.msie, which was removed from jQuery 1.9
Brendan Brelsford
More...
over 12 years ago
- adds option to place truncateString inside a truncated anchor tag, as can be necessary if the anchor is set to display block. - fixes incorrect value type description for "showText" option - fixes bug where truncateString was not appended in HTML truncation when the last node processed exactly filled the remaining character positions
Brendan Brelsford
More...
over 12 years ago
replaces tabs with spaces
Brendan Brelsford
More...
almost 13 years ago
- modifies plugin to account for inline-display truncation. If an element is detected to display inline, the closest block-level ancestor is specified as the contextParent. If a specified contextParent is detected to display inline, then the contextParent is replaced with its closest block-level ancestor. - fixes some bugs around edge case usage for word boundaries that fall directly on "avg" in the main truncation loop
Brendan Brelsford
More...
almost 13 years ago
increments version number to 3.0
Brendan Brelsford
More...
almost 13 years ago
adds detail to documentation for allowed and default parameter values
Brendan Brelsford
More...
almost 13 years ago
- adds documentation around newly-added "animate" and "animateOptions" options.
Brendan Brelsford
More...
almost 13 years ago
- removes long animation delay from debugging
Brendan Brelsford
More...
almost 13 years ago
- removes overflow constraints on animations. changes $.extend to modify an empty object.
Brendan Brelsford
More...
almost 13 years ago
- adds animation functionality
Brendan Brelsford
More...
almost 13 years ago
- adds inspection of $contextParent for box-sizing, -moz-box-sizing, or -webkit-box-sizing when setting width on $doppleParent to prevent under-truncation due to under-measured width.
Brendan Brelsford
More...
about 13 years ago
change licensing to PSD
Brendan Brelsford
More...
about 13 years ago
- fixes bug where fixed-height containers would not truncate by setting height to 'auto' on doppleTexts
Brendan Brelsford
More...
about 13 years ago
- adds MIT license information
Brendan Brelsford
More...
about 13 years ago
- namespaces click handlers to prevent handler replication
Brendan Brelsford
More...
about 13 years ago
←
1
2
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree