File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 14421442 }
14431443
14441444 // NOTE: We ensure clients either enable or flush as appropriate. This
1445- // handles two corner cases: (1) clients flush properly when
1446- // connected/enabled before the host enables, (2) clients enable properly
1447- // when not connected/enabled when the host flushes.
1445+ // handles two corner cases:
1446+ // (1) clients flush properly when connected/enabled before the host
1447+ // enables; e.g.
1448+ // (a) Templatize stamps with no properties and does not flush and
1449+ // (b) the instance is inserted into dom and
1450+ // (c) then the instance flushes.
1451+ // (2) clients enable properly when not connected/enabled when the host
1452+ // flushes; e.g.
1453+ // (a) a template is runtime stamped and not yet connected/enabled
1454+ // (b) a host sets a property, causing stamped dom to flush
1455+ // (c) the stamped dom enables.
14481456 __enableOrFlushClients ( ) {
14491457 let clients = this . __dataPendingClients ;
14501458 if ( clients ) {
You can’t perform that action at this time.
0 commit comments