-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: merged some PRs from the original repo + some other minor fixes. (…
…#3) * fix": rename interface. * fix: https://github.com/josephschmitt/Clamp.js/pull/18/files * fix: don't append 'px' to opt.clamp. it already has it. copied from josephschmitt/Clamp.js#20 * fix initial height check. copied from: josephschmitt/Clamp.js#44 * fix: minor type * fix: return if `target` is not defined in `truncate` * fix: pass jshint copied from: josephschmitt/Clamp.js#54 * fix: problem with non-integer line height. partially copied from: josephschmitt/Clamp.js#66 * update readme
- Loading branch information
Showing
3 changed files
with
40 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { clamp, IOptions, IResponse } from './clamp'; | ||
export { clamp, IClampOptions, IClampResponse } from './clamp'; |