From fa6df6d58487ec294e22be04ac159dfb5745bd66 Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Sat, 5 Feb 2022 03:21:50 -0600 Subject: [PATCH] fix: Legacy bugs (styles, site plugin error, and dev server error) (#1743) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add try/catch w/ error message to plugin calls * Update lifecycle.js * Update lifecycle.js * Fix docsify-plugin-carbon error * Fix ESLint errors * Simplify conditional JS loading * Fix styles in legacy browser w/o CSS var support * Fix gitignore paths * Fix BrowserSync IE error * Fix search field presentation in IE11 - Removed fixed height and allow element to size naturally via font-size and padding - Remove default "x" rendered on IE input fields * Revert "Update lifecycle.js" This reverts commit 2a58be69eb75a87b74d0408765e1d222282ac95b. * Revert "Update lifecycle.js" This reverts commit 67c5410b049237887811350f38e3f9bc8a2c78dc. * Revert "Add try/catch w/ error message to plugin calls" This reverts commit 631e9248786f87a5b2f7892fc73a53543744d288. * Fix docsify-plugin-carbon error & ESLint errors Co-authored-by: 沈唁 <52o@qq52o.cn> --- docs/index.html | 42 +++++++++++++++----------------- index.html | 8 +++--- src/plugins/search/component.js | 12 ++++++--- src/themes/basic/_coverpage.styl | 5 ++++ src/themes/basic/_layout.styl | 8 ++++++ src/themes/buble.styl | 2 ++ src/themes/dark.styl | 5 ++++ src/themes/dolphin.styl | 7 +++++- src/themes/vue.styl | 5 ++++ test/config/server.js | 16 +++++++++--- 10 files changed, 75 insertions(+), 35 deletions(-) diff --git a/docs/index.html b/docs/index.html index de3ce266..ef03476d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -55,7 +55,7 @@
Loading ...
- + diff --git a/index.html b/index.html index 206c1fe3..388969e8 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@
- + + ${match} `; - return injectJS + snippet + match; + return newSnippet; }, }, },