From db79f94985ad09d5108fff2294fc2f561882e08b Mon Sep 17 00:00:00 2001 From: Susheel Thapa Date: Thu, 19 Oct 2023 20:28:20 +0545 Subject: [PATCH] Chore: Fix typo in multiple file --- CHANGELOG.md | 4 ++-- package.json | 2 +- src/core/util/ajax.js | 2 +- src/core/util/dom.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38b3fa6ce..918740872 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ * correctly fix missing +1, -1 ([#1722](https://github.com/docsifyjs/docsify/issues/1722)) ([719dcbe](https://github.com/docsifyjs/docsify/commit/719dcbea5cb0c8b0835f8e9fc473b094feecb7ec)) * Coverpage when content > viewport height ([#1744](https://github.com/docsifyjs/docsify/issues/1744)) ([301b516](https://github.com/docsifyjs/docsify/commit/301b5169613e95765eda335a4b21d0f9f9cbbbfd)), closes [#381](https://github.com/docsifyjs/docsify/issues/381) * filter null node first. ([#1909](https://github.com/docsifyjs/docsify/issues/1909)) ([d27af3d](https://github.com/docsifyjs/docsify/commit/d27af3dd09a882fce4f1e2774065de57a3501858)) -* fix docsify-ignore in seach title. ([#1872](https://github.com/docsifyjs/docsify/issues/1872)) ([9832805](https://github.com/docsifyjs/docsify/commit/9832805681cc6099e9c78deecf6dc0c6fb61fd9b)) +* fix docsify-ignore in search title. ([#1872](https://github.com/docsifyjs/docsify/issues/1872)) ([9832805](https://github.com/docsifyjs/docsify/commit/9832805681cc6099e9c78deecf6dc0c6fb61fd9b)) * fix search with no content. ([#1878](https://github.com/docsifyjs/docsify/issues/1878)) ([9b74744](https://github.com/docsifyjs/docsify/commit/9b74744299ece0108573a142e5a2e949dc569254)) * Ignore emoji shorthand codes in URIs ([#1847](https://github.com/docsifyjs/docsify/issues/1847)) ([3c9b3d9](https://github.com/docsifyjs/docsify/commit/3c9b3d9702bb05a5ff45a4ce4233e144cf1ebecb)), closes [#1823](https://github.com/docsifyjs/docsify/issues/1823) * Legacy bugs (styles, site plugin error, and dev server error) ([#1743](https://github.com/docsifyjs/docsify/issues/1743)) ([fa6df6d](https://github.com/docsifyjs/docsify/commit/fa6df6d58487ec294e22be04ac159dfb5745bd66)) @@ -545,7 +545,7 @@ Fix the last release files has the old version marked... - **compiler:** support embedded markdown, html, video, etc files, close [#383](https://github.com/QingWei-Li/docsify/issues/383), close [#333](https://github.com/QingWei-Li/docsify/issues/333) ([524f52f](https://github.com/QingWei-Li/docsify/commit/524f52f)) - **cover:** add onlyCover option, close [#382](https://github.com/QingWei-Li/docsify/issues/382) ([b265fdd](https://github.com/QingWei-Li/docsify/commit/b265fdd)) - **fetch:** add requestHeaders option, fixed [#336](https://github.com/QingWei-Li/docsify/issues/336) ([54ab4c9](https://github.com/QingWei-Li/docsify/commit/54ab4c9)) -- **render:** add ext option for custom file extenstion, close [#340](https://github.com/QingWei-Li/docsify/issues/340) ([248aa72](https://github.com/QingWei-Li/docsify/commit/248aa72)) +- **render:** add ext option for custom file extension, close [#340](https://github.com/QingWei-Li/docsify/issues/340) ([248aa72](https://github.com/QingWei-Li/docsify/commit/248aa72)) - **render:** mutilple coverpage, close [#315](https://github.com/QingWei-Li/docsify/issues/315) ([f68ddf5](https://github.com/QingWei-Li/docsify/commit/f68ddf5)) diff --git a/package.json b/package.json index d744fc347..fde6ef2b6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "url": "https://opencollective.com/docsify" }, "type": "module", - "// The 'main' and 'unpkg' fields will remain as legacy for backwards compatbility for now. We will add deprectaion warnings to these outputs to give people time to see the warnings in their apps in a non-breaking way, and eventually we can remove the legacy stuff.": "", + "// The 'main' and 'unpkg' fields will remain as legacy for backwards compatibility for now. We will add deprectaion warnings to these outputs to give people time to see the warnings in their apps in a non-breaking way, and eventually we can remove the legacy stuff.": "", "main": "lib/docsify.js", "unpkg": "lib/docsify.min.js", "// We're using the 'exports' field as an override of the 'main' field to provide the new ESM setup. Once we remove legacy 'main', we will remove the 'exports' field and have a simple ESM setup with only a 'main' field.": "", diff --git a/src/core/util/ajax.js b/src/core/util/ajax.js index c66b593e7..f7f24b0e3 100644 --- a/src/core/util/ajax.js +++ b/src/core/util/ajax.js @@ -11,7 +11,7 @@ import { noop } from './core.js'; const cache = {}; /** - * Ajax GET implmentation + * Ajax GET implementation * @param {string} url Resource URL * @param {boolean} [hasBar=false] Has progress bar * @param {String[]} headers Array of headers diff --git a/src/core/util/dom.js b/src/core/util/dom.js index 4068ef88d..dfb0c6cc2 100644 --- a/src/core/util/dom.js +++ b/src/core/util/dom.js @@ -103,7 +103,7 @@ export function style(content) { /** * Fork https://github.com/bendrucker/document-ready/blob/master/index.js * @param {Function} callback The callbacack to be called when the page is loaded - * @returns {Number|void} If the page is already laoded returns the result of the setTimeout callback, + * @returns {Number|void} If the page is already loaded returns the result of the setTimeout callback, * otherwise it only attaches the callback to the DOMContentLoaded event */ export function documentReady(callback, doc = document) {