Fossil SCM
Added diff context loading to the list of places we use JS in javascript.md.
Commit
30a2b87c4ed89321059e63580bcb18aed4e5f3ca7ef2a6a6875d328731d0f40c
Parent
2d8a9046a185dd6…
1 file changed
+12
+12
| --- www/javascript.md | ||
| +++ www/javascript.md | ||
| @@ -462,10 +462,22 @@ | ||
| 462 | 462 | if you want to examine part of a line scrolled out of the HTML element |
| 463 | 463 | in one box, you probably want to examine the same point on that line in |
| 464 | 464 | the other box. |
| 465 | 465 | |
| 466 | 466 | _Graceful Fallback:_ Manually scroll both boxes to sync their views. |
| 467 | + | |
| 468 | +### <a id="diffcontext"></a>Diff Context Loading | |
| 469 | + | |
| 470 | +As of version 2.17, fossil adds the ability for the diff views to | |
| 471 | +dynamically load more lines of context around changed blocks. The UI | |
| 472 | +controls for this feature are injected using JavaScript when the page | |
| 473 | +initializes and make use of XHR requests to fetch data from the | |
| 474 | +fossil instance. | |
| 475 | + | |
| 476 | +_Graceful Fallback:_ The UI controls for this feature do not appear | |
| 477 | +when JS is unavailable, leaving the user with the "legacy" static diff | |
| 478 | +view. | |
| 467 | 479 | |
| 468 | 480 | |
| 469 | 481 | ### <a id="sort"></a>Table Sorting |
| 470 | 482 | |
| 471 | 483 | On pages showing a data table, the column headers may be clickable to do |
| 472 | 484 |
| --- www/javascript.md | |
| +++ www/javascript.md | |
| @@ -462,10 +462,22 @@ | |
| 462 | if you want to examine part of a line scrolled out of the HTML element |
| 463 | in one box, you probably want to examine the same point on that line in |
| 464 | the other box. |
| 465 | |
| 466 | _Graceful Fallback:_ Manually scroll both boxes to sync their views. |
| 467 | |
| 468 | |
| 469 | ### <a id="sort"></a>Table Sorting |
| 470 | |
| 471 | On pages showing a data table, the column headers may be clickable to do |
| 472 |
| --- www/javascript.md | |
| +++ www/javascript.md | |
| @@ -462,10 +462,22 @@ | |
| 462 | if you want to examine part of a line scrolled out of the HTML element |
| 463 | in one box, you probably want to examine the same point on that line in |
| 464 | the other box. |
| 465 | |
| 466 | _Graceful Fallback:_ Manually scroll both boxes to sync their views. |
| 467 | |
| 468 | ### <a id="diffcontext"></a>Diff Context Loading |
| 469 | |
| 470 | As of version 2.17, fossil adds the ability for the diff views to |
| 471 | dynamically load more lines of context around changed blocks. The UI |
| 472 | controls for this feature are injected using JavaScript when the page |
| 473 | initializes and make use of XHR requests to fetch data from the |
| 474 | fossil instance. |
| 475 | |
| 476 | _Graceful Fallback:_ The UI controls for this feature do not appear |
| 477 | when JS is unavailable, leaving the user with the "legacy" static diff |
| 478 | view. |
| 479 | |
| 480 | |
| 481 | ### <a id="sort"></a>Table Sorting |
| 482 | |
| 483 | On pages showing a data table, the column headers may be clickable to do |
| 484 |