Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[T-650] Fix number padding in codeframe being incorrect if endLine ==…
… 10 (#4874) * improve codeframe tests * more tweaks * remove .only * add a failing unit test for the issue * fix number padding * padStart instead of end * fix lint * get rid of proprietary wordpress example
- Loading branch information
1 parent
f4c5cd8
commit a1061e9
Showing
4 changed files
with
93 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ dist | |
coverage | ||
node_modules | ||
tmp | ||
fixtures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import test from 'test'; | ||
import component from './component'; | ||
|
||
/** | ||
* This is a comment | ||
*/ | ||
import Tooltip from '../tooltip'; | ||
import VisuallyHidden from '../visually-hidden'; | ||
|
||
/** | ||
* This is another comment | ||
*/ | ||
import {Label} from './label'; |