mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
chore: fix typos in comment-out (#11197)
This commit is contained in:
parent
ba18a8b8b9
commit
8958c11c58
|
|
@ -119,7 +119,7 @@ export default class IdealImage extends Component {
|
|||
|
||||
/*
|
||||
static propTypes = {
|
||||
/!** how much to wait in ms until concider download to slow *!/
|
||||
/!** how much to wait in ms until consider download to slow *!/
|
||||
threshold: PropTypes.number,
|
||||
/!** function to generate src based on width and format *!/
|
||||
getUrl: PropTypes.func,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
* and return as `style` property.
|
||||
*
|
||||
* Usage:
|
||||
* Asume you have `theme` object, which can be css-module
|
||||
* Assume you have `theme` object, which can be css-module
|
||||
* or object or other css-in-js compatible with css-module
|
||||
*
|
||||
* <a {...compose(theme.link, theme.active, {color: "#000"})}>link</a>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export class UnfetchAbortController {
|
|||
}
|
||||
|
||||
// modified version of https://github.com/developit/unfetch
|
||||
// - ponyfill intead of polyfill
|
||||
// - ponyfill instead of polyfill
|
||||
// - add support for AbortController
|
||||
export const unfetch = (url, options) => {
|
||||
options = options || {};
|
||||
|
|
|
|||
|
|
@ -478,7 +478,7 @@ describe('readCodeTranslationFileContent', () => {
|
|||
return readCodeTranslationFileContent({localizationDir});
|
||||
}
|
||||
|
||||
it("returns undefined if file does't exist", async () => {
|
||||
it("returns undefined if file doesn't exist", async () => {
|
||||
await expect(
|
||||
readCodeTranslationFileContent({localizationDir: 'foo'}),
|
||||
).resolves.toBeUndefined();
|
||||
|
|
|
|||
Loading…
Reference in New Issue