This change fixes the following differences and bugs compared to the normal diff: * On an empty change the API response contains no `main` in `response[ 0 ].compare.bodies`. Remove the previous diff and show a 'diff-empty' message in this case. * The header with 'currentrev' and 'yourtext' is missing. Show this message similar to the normal diff. The HTML in the diff of the live preview is not exactly the same as in the normal diff: * The live preview has now <thead> and <tbody> elements. * The live preview has always 4 columns. Bug: T293307 Bug: T293597 Change-Id: Ibb4fccb74634094ffeabf6fe201257d747bb8a01 |
||
|---|---|---|
| .. | ||
| assets | ||
| lib | ||
| src | ||
| Resources.php | ||