-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: sw fallback + client key #23
Conversation
@@ -52,6 +54,10 @@ function initWidget () { | |||
return | |||
} | |||
|
|||
|
|||
const config = widgetConfigFromScriptTag() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guanzo to add some handling for when the DOM is not loaded yet, would widgetConfigFromScriptTag()
return an error? That way can just add a try catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Secondary review: LGTM
Co-authored-by: Eric Guan <[email protected]>
Changes: