Skip to content

Commit d952a63

Browse files
committed
chore: update code
1 parent 504f66b commit d952a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/insertBySelector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* global document, window */
2+
/* eslint-disable unicorn/prefer-global-this */
3+
24
const memo = {};
35

46
/* istanbul ignore next */
@@ -8,9 +10,7 @@ function getTarget(target) {
810

911
// Special case to return head of iframe instead of iframe itself
1012
if (
11-
// eslint-disable-next-line unicorn/prefer-global-this
1213
window.HTMLIFrameElement &&
13-
// eslint-disable-next-line unicorn/prefer-global-this
1414
styleTarget instanceof window.HTMLIFrameElement
1515
) {
1616
try {

0 commit comments

Comments
 (0)