ngx-text-diff
ngx-text-diff copied to clipboard
A Text Diff component for Angular
Hey, it's my second post here. Still using that really cool tool :) About the "Show line with diffs only" feature, would it be possible to make it show (in...
I think the usage of the observable is confusing. * Why do I have to pass in left and right AND an observable? I should have the option to just...
The heroky example should include a header with a way to get back to the github repo.
Should this second if line be `if (result.rightContent)`? ``` if (result.leftContent) { diffCount += result.leftContent.lineDiffs.filter(diff => diff.isDiff).length; } if (result.leftContent) { diffCount += result.rightContent.lineDiffs.filter(diff => diff.isDiff).length; } ``` https://github.com/ABenassi87/ngx-text-diff/blob/34fa1d9a3aac9a1268f9041fde40871a34cadc52/projects/ngx-text-diff/src/lib/ngx-text-diff.service.ts#L182