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

Can't select Vue components with Date props #125

Closed
Akryum opened this issue Jul 19, 2016 · 2 comments
Closed

Can't select Vue components with Date props #125

Akryum opened this issue Jul 19, 2016 · 2 comments

Comments

@Akryum
Copy link
Member

Akryum commented Jul 19, 2016

I get an error in the console when I try to select some of my components with props of type Date:

backend.js:1 Uncaught TypeError: Cannot read property '1' of null

The error seems to be thrown by this line and the culprict this RexExp. The value of t is the Date constructor that has some parameters and thus doesn't match the RegExp.

Maybe the RegExp should be /^function (\w+)\(/?

@Akryum
Copy link
Member Author

Akryum commented Jul 19, 2016

I made a test here.

@yyx990803
Copy link
Member

feel free to open a PR!

Akryum pushed a commit to Akryum/vue-devtools that referenced this issue Jul 19, 2016
yyx990803 pushed a commit that referenced this issue Jul 19, 2016
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

No branches or pull requests

3 participants