shave

v2.1.7
Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
ellipsis truncate truncation truncated semantic js content shorten javascript and 4 more...

eslint

eslint . --fix

eslint:ci

eslint .

test

gulp test

test:es-check

es-check es5 dist/shave.min.js dist/shave.js dist/jquery.shave.js dist/jquery.shave.min.js

rollup

rollup -c --environment entry:shave,format:umd && rollup -c --environment entry:shave,format:es && rollup -c --environment entry:jquery.shave

build

npm run rollup && gulp

postpublish

git tag $npm_package_version && git push origin --tags

Metadata

  • MIT
  • Whatever
  • Jeff Wainwright
  • released 6/20/2018

Downloads