Skip to content
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

fix: remove assert due to safari bug #798

Merged
merged 3 commits into from
Nov 2, 2018
Merged

fix: remove assert due to safari bug #798

merged 3 commits into from
Nov 2, 2018

Conversation

diervo
Copy link
Contributor

@diervo diervo commented Nov 2, 2018

Details

Removing an assert for anonymous classes until https://bugs.webkit.org/show_bug.cgi?id=190140 is fixed

@@ -127,7 +127,8 @@ function createComponentDef(Ctor: ComponentConstructor): ComponentDef {

// local to dev block
const ctorName = Ctor.name;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this: const ctorName = Ctor.name || 'Function';

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nevermind, let's move on.

@diervo diervo merged commit 9381315 into master Nov 2, 2018
@diervo diervo deleted the dval/removeCtorCheck branch November 2, 2018 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants