Release 2.10.1
This commit is contained in:
parent
4e6db583e3
commit
0697ac6d55
3 changed files with 14 additions and 3 deletions
13
dist/diff2html.js
vendored
13
dist/diff2html.js
vendored
|
|
@ -3513,13 +3513,16 @@ process.umask = function() { return 0; };
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultConfig = {
|
var defaultConfig = {
|
||||||
wordByWord: true,
|
inputFormat: 'diff',
|
||||||
outputFormat: 'line-by-line',
|
outputFormat: 'line-by-line',
|
||||||
|
showFiles: false,
|
||||||
matching: 'none',
|
matching: 'none',
|
||||||
matchWordsThreshold: 0.25,
|
matchWordsThreshold: 0.25,
|
||||||
matchingMaxComparisons: 2500,
|
matchingMaxComparisons: 2500,
|
||||||
maxLineSizeInBlockForComparison: 200,
|
maxLineSizeInBlockForComparison: 200,
|
||||||
maxLineLengthHighlight: 10000,
|
maxLineLengthHighlight: 10000,
|
||||||
|
templates: {},
|
||||||
|
rawTemplates: {},
|
||||||
renderNothingWhenEmpty: false
|
renderNothingWhenEmpty: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -3999,6 +4002,10 @@ process.umask = function() { return 0; };
|
||||||
lineWithoutPrefix = lineWithPrefix.line;
|
lineWithoutPrefix = lineWithPrefix.line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (prefix === ' ') {
|
||||||
|
prefix = ' ';
|
||||||
|
}
|
||||||
|
|
||||||
return hoganUtils.render(genericTemplatesPath, 'line',
|
return hoganUtils.render(genericTemplatesPath, 'line',
|
||||||
{
|
{
|
||||||
type: type,
|
type: type,
|
||||||
|
|
@ -4662,6 +4669,10 @@ process.umask = function() { return 0; };
|
||||||
lineWithoutPrefix = lineWithPrefix.line;
|
lineWithoutPrefix = lineWithPrefix.line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (prefix === ' ') {
|
||||||
|
prefix = ' ';
|
||||||
|
}
|
||||||
|
|
||||||
return hoganUtils.render(genericTemplatesPath, 'line',
|
return hoganUtils.render(genericTemplatesPath, 'line',
|
||||||
{
|
{
|
||||||
type: type,
|
type: type,
|
||||||
|
|
|
||||||
2
dist/diff2html.min.js
vendored
2
dist/diff2html.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "diff2html",
|
"name": "diff2html",
|
||||||
"version": "2.10.0",
|
"version": "2.10.1",
|
||||||
"homepage": "https://diff2html.xyz",
|
"homepage": "https://diff2html.xyz",
|
||||||
"description": "Fast Diff to colorized HTML",
|
"description": "Fast Diff to colorized HTML",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue