chore(deps): update dependency eslint to v9 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
977ce26a42
commit
11154bf03d
10 changed files with 211 additions and 175 deletions
|
@ -4,7 +4,7 @@ import { TOGGLE_COLOR_THEMES, THEME, COLOR_THEME_AUTO } from "./config.js"
|
|||
applyTheme()
|
||||
})()
|
||||
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const colorThemeToggle = document.getElementById("gdoc-color-theme")
|
||||
|
||||
colorThemeToggle.onclick = function () {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Clipboard from "clipboard"
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function (event) {
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
let clipboard = new Clipboard(".clip")
|
||||
|
||||
clipboard.on("success", function (e) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import { COLOR_THEME_DARK, THEME, COLOR_THEME_AUTO } from "./config.js"
|
|||
|
||||
import mermaid from "mermaid"
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function (event) {
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
let lstore = Storage.namespace(THEME)
|
||||
let currentMode = lstore.get("color-theme") || COLOR_THEME_AUTO
|
||||
let darkModeQuery = window.matchMedia("(prefers-color-scheme: dark)")
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import groupBy from "lodash/groupBy"
|
||||
import truncate from "lodash/truncate"
|
||||
import Document from "flexsearch/dist/module/document"
|
||||
import groupBy from "lodash/groupBy.js"
|
||||
import truncate from "lodash/truncate.js"
|
||||
import Document from "flexsearch/dist/module/document.js"
|
||||
import { Validator } from "@cfworker/json-schema"
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function (event) {
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const input = document.querySelector("#gdoc-search-input")
|
||||
const results = document.querySelector("#gdoc-search-results")
|
||||
const basePath = urlPath(input ? input.dataset.siteBaseUrl : "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue