Skip to content

Commit

Permalink
Fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Sep 27, 2020
1 parent 9c4009f commit c7ddada
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/assets/javascripts/integrations/clipboard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ export function setupClipboard(
blocks.forEach((block, index) => {
const parent = block.parentElement!
parent.id = `__code_${index}`
parent.insertBefore(renderClipboardButton(parent.id), block)
parent.insertBefore(
renderClipboardButton(parent.id),
block
)
})
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
} from "rxjs/operators"

import { WorkerHandler, watchWorker } from "browser"
import { translate } from "utilities"

import { SearchIndex, SearchIndexPipeline } from "../../_"
import {
Expand All @@ -37,7 +38,6 @@ import {
SearchSetupMessage,
isSearchResultMessage
} from "../message"
import { translate } from "utilities"

/* ----------------------------------------------------------------------------
* Helper types
Expand Down

0 comments on commit c7ddada

Please sign in to comment.