-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
getCustomFunctionDetails throwing exception for anonymous functions #568
Comments
Also stumbled upon something similar to this. I was adding lodash with a global mixin to be used in component templates. And lodash has this feature of overloading |
* Edge case of incorrectly serialized function Should fix #568 * Function.toString hijacking example * Use prototype toString
Same bug for me. I can not use vue-devtools currently. Please could you release the fix? Thank you |
Version
4.1.0
Browser and OS info
Chrome 64.0.3282.119 / Windows 10
Steps to reproduce
This occurred on version 4.1.1 but that was not an option on the issue helper site
Clone repository from: https://github.com/badams2527/devtools-issue
Install npm packages
npm install
Run the project using
npm run dev
Open the application in Chrome, then open Vue devtools.
In Vue devtools, navigate down the component tree to KendoGrid.
Click on KendoGrid.
Notice the console error
Here's a screenshot of the error
What is expected?
It should populate the component instance details in the right panel.
What is actually happening?
It is throwing an exception in the log and not populating the right panel
I set a debug point at that line in backend.js (after pretty printing), and checking the argument. It's returning
after the toString, leading me to believe it's just not set to handle anonymous functions properly.
The text was updated successfully, but these errors were encountered: