Skip to content

Conversation

MangoTsing
Copy link

showFile 参数升级为 drawFileList

增加 drawFileList 可传递参数
增加 renderNothingWhenEmpty 可传递参数
增加 diffStyle 可传递参数

———————— 以上为 diff2html 原生参数

增加 fileName 可传递参数
—— 用于展示文件对比列表时的文件名显示

增加 isShowNoChange 可传递参数
—— 当noDiff时,通过一个讨巧的方式将两个文件对比出来,展示源代码

如果有更好的实现方式可以给我建议,我认为 fileName 和 isShowNoChange 还是十分有必要的!

@ddchef ddchef merged commit 608bab6 into ddchef:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants