Skip to content

Commit

Permalink
bump 0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinyChang committed Apr 5, 2019
1 parent 81c4576 commit 78aad30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,13 @@
line = _props.line,
onCalculated = _props.onCalculated,
onTruncated = _props.onTruncated,
onToggled = _props.onToggled,
text = _props.text,
textElement = _props.textElement,
textTruncateChild = _props.textTruncateChild,
truncateText = _props.truncateText,
maxCalculateTimes = _props.maxCalculateTimes,
props = _objectWithoutProperties(_props, ['containerClassName', 'element', 'line', 'onCalculated', 'onTruncated', 'text', 'textElement', 'textTruncateChild', 'truncateText', 'maxCalculateTimes']);
props = _objectWithoutProperties(_props, ['containerClassName', 'element', 'line', 'onCalculated', 'onTruncated', 'onToggled', 'text', 'textElement', 'textTruncateChild', 'truncateText', 'maxCalculateTimes']);

var scopeWidth = this.scope.getBoundingClientRect().width;

Expand Down Expand Up @@ -293,11 +294,12 @@
line = _props2.line,
onCalculated = _props2.onCalculated,
onTruncated = _props2.onTruncated,
onToggled = _props2.onToggled,
textElement = _props2.textElement,
textTruncateChild = _props2.textTruncateChild,
truncateText = _props2.truncateText,
maxCalculateTimes = _props2.maxCalculateTimes,
props = _objectWithoutProperties(_props2, ['element', 'text', 'style', 'containerClassName', 'line', 'onCalculated', 'onTruncated', 'textElement', 'textTruncateChild', 'truncateText', 'maxCalculateTimes']);
props = _objectWithoutProperties(_props2, ['element', 'text', 'style', 'containerClassName', 'line', 'onCalculated', 'onTruncated', 'onToggled', 'textElement', 'textTruncateChild', 'truncateText', 'maxCalculateTimes']);

var fontWeight = style.fontWeight,
fontStyle = style.fontStyle,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-text-truncate",
"version": "0.14.0",
"version": "0.14.1",
"description": "Truncate text for React.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 78aad30

Please sign in to comment.