File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ export const ElementMixin = dedupingMixin(base => {
693
693
n . shadowRoot . appendChild ( dom ) ;
694
694
}
695
695
if ( syncInitialRender && window . ShadyDOM ) {
696
- ShadyDOM . flushInitial ( n . shadowRoot ) ;
696
+ window . ShadyDOM . flushInitial ( n . shadowRoot ) ;
697
697
}
698
698
return n . shadowRoot ;
699
699
}
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ export let FlattenedNodesObserver = class {
152
152
/** @type {!NodeList<!Node> } */ ( wrap ( this . _target ) . children ) ) ;
153
153
if ( window . ShadyDOM ) {
154
154
this . _shadyChildrenObserver =
155
- ShadyDOM . observeChildren ( this . _target , ( mutations ) => {
155
+ window . ShadyDOM . observeChildren ( this . _target , ( mutations ) => {
156
156
this . _processMutations ( mutations ) ;
157
157
} ) ;
158
158
} else {
@@ -182,7 +182,7 @@ export let FlattenedNodesObserver = class {
182
182
this . _unlistenSlots (
183
183
/** @type {!NodeList<!Node> } */ ( wrap ( this . _target ) . children ) ) ;
184
184
if ( window . ShadyDOM && this . _shadyChildrenObserver ) {
185
- ShadyDOM . unobserveChildren ( this . _shadyChildrenObserver ) ;
185
+ window . ShadyDOM . unobserveChildren ( this . _shadyChildrenObserver ) ;
186
186
this . _shadyChildrenObserver = null ;
187
187
} else if ( this . _nativeChildrenObserver ) {
188
188
this . _nativeChildrenObserver . disconnect ( ) ;
You can’t perform that action at this time.
0 commit comments