mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed linter errors
This commit is contained in:
parent
9c4009f608
commit
c7ddada630
@ -66,7 +66,10 @@ export function setupClipboard(
|
|||||||
blocks.forEach((block, index) => {
|
blocks.forEach((block, index) => {
|
||||||
const parent = block.parentElement!
|
const parent = block.parentElement!
|
||||||
parent.id = `__code_${index}`
|
parent.id = `__code_${index}`
|
||||||
parent.insertBefore(renderClipboardButton(parent.id), block)
|
parent.insertBefore(
|
||||||
|
renderClipboardButton(parent.id),
|
||||||
|
block
|
||||||
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ import {
|
|||||||
} from "rxjs/operators"
|
} from "rxjs/operators"
|
||||||
|
|
||||||
import { WorkerHandler, watchWorker } from "browser"
|
import { WorkerHandler, watchWorker } from "browser"
|
||||||
|
import { translate } from "utilities"
|
||||||
|
|
||||||
import { SearchIndex, SearchIndexPipeline } from "../../_"
|
import { SearchIndex, SearchIndexPipeline } from "../../_"
|
||||||
import {
|
import {
|
||||||
@ -37,7 +38,6 @@ import {
|
|||||||
SearchSetupMessage,
|
SearchSetupMessage,
|
||||||
isSearchResultMessage
|
isSearchResultMessage
|
||||||
} from "../message"
|
} from "../message"
|
||||||
import { translate } from "utilities"
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* Helper types
|
* Helper types
|
||||||
|
Loading…
Reference in New Issue
Block a user