diff2html
Advanced tools
Comparing version 2.0.0-rc.6 to 2.0.0-rc.7
{ | ||
"name": "diff2html", | ||
"version": "2.0.0-rc.6", | ||
"version": "2.0.0-rc.7", | ||
"homepage": "http://rtfpessoa.github.io/diff2html/", | ||
@@ -5,0 +5,0 @@ "description": "Fast Diff to colorized HTML", |
@@ -186,4 +186,4 @@ /* | ||
( | ||
currentFile.oldName && utils.startsWith(line, '---') || // Either we reached a old file identification line | ||
currentFile.newName && utils.startsWith(line, '+++') // Or we reached a new file identification line | ||
currentFile.oldName && utils.startsWith(line, '--- ') || // Either we reached a old file identification line | ||
currentFile.newName && utils.startsWith(line, '+++ ') // Or we reached a new file identification line | ||
) | ||
@@ -202,3 +202,3 @@ ) | ||
if (currentFile && !currentFile.oldName && | ||
utils.startsWith(line, '---') && (values = getSrcFilename(line, config))) { | ||
utils.startsWith(line, '--- ') && (values = getSrcFilename(line, config))) { | ||
currentFile.oldName = values; | ||
@@ -214,3 +214,3 @@ currentFile.language = getExtension(currentFile.oldName, currentFile.language); | ||
if (currentFile && !currentFile.newName && | ||
utils.startsWith(line, '+++') && (values = getDstFilename(line, config))) { | ||
utils.startsWith(line, '+++ ') && (values = getDstFilename(line, config))) { | ||
currentFile.newName = values; | ||
@@ -217,0 +217,0 @@ currentFile.language = getExtension(currentFile.newName, currentFile.language); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
327154
5927