We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was reported by @endel on Gitter.
The issues in IE are caused because Function.name is not an standard in JS versions < ES6.
The issue takes place here.
The good news is that function name is only used to provide developer-friendly errors and it will be fine to use the following:
function getFunctionName(f: any) { return f.name ? f.name : f.toString().match(/^function\s*([^\s(]+)/)[1]; }
We can add the above function to the Planner class as a private method and invoke the function here:
let constructorName = getFunctionName(func);
The text was updated successfully, but these errors were encountered:
Fixed getFunctionName #301 (#302)
fd27686
Thanks a lot for the PR 👍
Done by #302
Sorry, something went wrong.
No branches or pull requests
This issue was reported by @endel on Gitter.
The issues in IE are caused because Function.name is not an standard in JS versions < ES6.
The issue takes place here.
The good news is that function name is only used to provide developer-friendly errors and it will be fine to use the following:
We can add the above function to the Planner class as a private method and invoke the function here:
The text was updated successfully, but these errors were encountered: