pick #286 allow short cut for slim DOM options

This commit is contained in:
Yanzhen Yu
2020-11-29 14:54:05 +08:00
parent b26cb1a304
commit 23a1883dfc
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();