File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 71
71
}
72
72
73
73
function clearApplyHooks ( effectSet ) {
74
- for ( var id in effectSet ) {
75
- var effect = effectSet [ id ] ;
76
- applyHooks . forEach ( function ( applyHook ) {
74
+ applyHooks . forEach ( function ( applyHook ) {
75
+ for ( var id in effectSet ) {
76
+ var effect = effectSet [ id ] ;
77
77
var style = effect . _target . style ;
78
78
if ( ! style . _applyHookAffectedProperties ) {
79
79
return ;
80
80
}
81
81
for ( var property in style . _applyHookAffectedProperties ) {
82
82
style . _clear ( property ) ;
83
83
}
84
- } ) ;
85
- }
84
+ }
85
+ } ) ;
86
86
} ;
87
87
88
88
function callApplyHooks ( effectSet ) {
89
- for ( var id in effectSet ) {
90
- var effect = effectSet [ id ] ;
91
- applyHooks . forEach ( function ( applyHook ) {
89
+ applyHooks . forEach ( function ( applyHook ) {
90
+ for ( var id in effectSet ) {
91
+ var effect = effectSet [ id ] ;
92
92
if ( ! effect . _target . _webAnimationsPatchedStyle ) {
93
93
return ;
94
94
}
108
108
style . _set ( property , newValues [ property ] ) ;
109
109
affectedProperties [ property ] = true ;
110
110
}
111
- } ) ;
112
- }
111
+ }
112
+ } ) ;
113
113
} ;
114
114
115
115
scope . clearApplyHooks = clearApplyHooks ;
You can’t perform that action at this time.
0 commit comments