Skip to content

Releases: jeffchan/truncate.js

Bug fixes

22 Jun 11:58
Compare
Choose a tag to compare

Version 1.1.2

Bug fix

Changes

Bug fix

05 May 01:53
Compare
Choose a tag to compare

Version 1.1.1

Bug fix

Changes

  • Fix an issue when updating with an empty string #23

v1.1.0

10 Apr 22:59
Compare
Choose a tag to compare

Version 1.1.0

New features!

Changes

  • LineHeight is automatically get from the element (jquery .css("line-height")), to be able to simply add truncation with $("element").truncate() (#21)
  • Set the position of the truncation! start, middle or end. Check demo.html to see some example (#15)

v1.0.0

12 Feb 04:03
Compare
Choose a tag to compare

Version 1.0.0

Bump to version 1.0 as the build process is a breaking changer

Changes

  • .gitignore ignore JetBrains files and OSX files
  • .editorconfig to be sure all contributors are using 2 spaces indentations
  • Use gulp instead of a makefile (crossplatform compatibility)
  • Update readme.md file
  • Use jquery as a npm dependency
  • Generate a dist folder with full and minified file

Bug fixes

Others:

  • Fix semantic and malformed DOM inside demo.html
  • Fix a jshint error in truncate.js

Major credit to @Tuizi