File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,3 +13,5 @@ journal/
1313* .zip
1414
1515.todo.md
16+
17+ build /
Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ export const useCallbacks = <
660660 configurable : true ,
661661 enumerable : true ,
662662 value ( ...xs : [ string , string , string ] ) {
663- return maybeCall ( ( ) => g . call ( this , ...xs ) )
663+ return maybeCall ( ( ) => g && g . call ( this , ...xs ) )
664664 . then ( ( ) =>
665665 f (
666666 this ,
@@ -792,7 +792,7 @@ export const useTemplate = <
792792 configurable : true ,
793793 enumerable : true ,
794794 value ( this : E ) {
795- return maybeCall ( ( ) => _connectedCallback . call ( this ) )
795+ return maybeCall ( ( ) => _connectedCallback && _connectedCallback . call ( this ) )
796796 . then ( ( ) => maybeCall < HTMLTemplateElement > ( f ) )
797797 . then ( ( template ) => {
798798 if ( ! template ) return ;
You can’t perform that action at this time.
0 commit comments