diff2html
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "diff2html", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"homepage": "http://rtfpessoa.github.io/diff2html/", | ||
@@ -5,0 +5,0 @@ "description": "Fast Diff to colorized HTML", |
@@ -24,15 +24,17 @@ /* | ||
' <div class="d2h-clear"></div>\n' + | ||
' <div class="d2h-file-list">\n' + | ||
' <table class="d2h-file-list">\n' + | ||
diffFiles.map(function (file) { | ||
return ' <div class="d2h-file-list-line">\n' + | ||
' <div class="d2h-file-stats">\n' + | ||
' <span class="d2h-lines-added">+' + file.addedLines + '</span>\n' + | ||
' <span class="d2h-lines-deleted">-' + file.deletedLines + '</span>\n' + | ||
' </div>\n' + | ||
' <div class="d2h-file-name"><a href="#' + printerUtils.getHtmlId(file) + '"> ' + printerUtils.getDiffName(file) + '</a></div>\n' + | ||
' </div>\n' | ||
return ' <tr class="d2h-file-list-line">\n' + | ||
' <td class="d2h-lines-added">\n' + | ||
' <span>+' + file.addedLines + '</span>\n' + | ||
' </td>\n' + | ||
' <td class="d2h-lines-deleted">\n' + | ||
' <span>-' + file.deletedLines + '</span>\n' + | ||
' </td>\n' + | ||
' <td class="d2h-file-name"><a href="#' + printerUtils.getHtmlId(file) + '"> ' + printerUtils.getDiffName(file) + '</a></td>\n' + | ||
' </tr>\n' | ||
}).join('\n') + | ||
'</div></div>\n'; | ||
'</table></div>\n'; | ||
}; | ||
@@ -39,0 +41,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34706
764