OLD | NEW |
(Empty) | |
| 1 -Here's my tetx file |
| 2 +Here's my text file |
| 3 +And this is the second line |
| 4 |
| 5 ––– a/web/js/lazy.js |
| 6 +++ b/web/js/lazy.js |
| 7 |
| 8 - if (url !== null && url !== '' && typeof url !== 'undefined') { |
| 9 + if (url === null || url === '' || typeof url === 'undefined') { |
| 10 + return; |
| 11 + } |
| 12 + |
| 13 |
| 14 ---------------------------------------------------- |
| 15 |
| 16 [ |
| 17 ["deleted", "-Here's my tetx file"], |
| 18 ["inserted", "+Here's my text file"], |
| 19 ["inserted", "+And this is the second line"], |
| 20 ["deleted", "––– a/web/js/lazy.js"], |
| 21 ["inserted", "+++ b/web/js/lazy.js"], |
| 22 ["deleted", "- if (url !== null && url !== '' && typeof url !== 'un
defined') {"], |
| 23 ["inserted", "+ if (url === null || url === '' || typeof url === 'u
ndefined') {"], |
| 24 ["inserted", "+ return;"], |
| 25 ["inserted", "+ }"], |
| 26 ["inserted", "+"] |
| 27 ] |
| 28 |
| 29 ---------------------------------------------------- |
| 30 |
| 31 Checks for inserted and deleted lines in git diff output. |
OLD | NEW |