Skip to content

Commit

Permalink
microsoft#22622 removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianhosu committed Mar 25, 2017
1 parent b30e1b7 commit 517dcac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ export class DebugHoverWidget implements IContentWidget {
this.valueContainer.hidden = false;
renderExpressionValue(expression, this.valueContainer, {
showChanged: false,
maxValueLength: null,
preserveWhitespace: true
});
this.valueContainer.title = '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function renderExpressionValue(expressionOrValue: debug.IExpression | str
container.className = 'value changed';
}

if (options.maxValueLength && options.maxValueLength > 0 && value.length > options.maxValueLength) {
if (options.maxValueLength && value.length > options.maxValueLength) {
value = value.substr(0, options.maxValueLength) + '...';
}
if (value && !options.preserveWhitespace) {
Expand Down

0 comments on commit 517dcac

Please sign in to comment.