pick #286 allow short cut for slim DOM options

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 45f01da644
commit 519aa8d424
3 changed files with 4 additions and 2 deletions

View File

@@ -95,6 +95,8 @@ function record<T = eventWithTime>(
headMetaAuthorship: _slimDOMOptions === 'all',
headMetaDescKeywords: _slimDOMOptions === 'all',
}
: _slimDOMOptions
? _slimDOMOptions
: {};
polyfill();