File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ export function flush() {
4545 for ( let i = 0 ; i < dirty_components . length ; i += 1 ) {
4646 const component = dirty_components [ i ] ;
4747 set_current_component ( component ) ;
48- const is_dirty_from_binding = previous_dirty_components . indexOf ( component ) > - 1 ;
49- update ( component . $$ , is_dirty_from_binding ) ;
48+ const is_previous_dirty = previous_dirty_components . indexOf ( component ) > - 1 ;
49+ update ( component . $$ , is_previous_dirty ) ;
5050 }
5151 previous_dirty_components = [ ] ;
5252 set_current_component ( null ) ;
@@ -83,14 +83,14 @@ export function flush() {
8383 seen_callbacks . clear ( ) ;
8484}
8585
86- function update ( $$ , is_dirty_from_binding ) {
86+ function update ( $$ , is_previous_dirty ) {
8787 if ( $$ . fragment !== null ) {
8888 $$ . update ( ) ;
89- if ( ! is_dirty_from_binding ) run_all ( $$ . before_update ) ;
89+ if ( ! is_previous_dirty ) run_all ( $$ . before_update ) ;
9090 const dirty = $$ . dirty ;
9191 $$ . dirty = [ - 1 ] ;
9292 $$ . fragment && $$ . fragment . p ( $$ . ctx , dirty ) ;
93- // if (!is_dirty_from_binding ) run_all($$.after_update);
93+ // if (!is_previous_dirty ) run_all($$.after_update);
9494 $$ . after_update . forEach ( add_render_callback ) ;
9595 }
9696}
You can’t perform that action at this time.
0 commit comments