Skip to content

fix: do not throw when api.render is called from an anonymous function #5801

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

Merged

Conversation

haoqunjiang
Copy link
Member

Fixes #4774

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@haoqunjiang haoqunjiang merged commit 5d002cc into vuejs:dev Aug 24, 2020
@haoqunjiang haoqunjiang deleted the fix-api-render-inside-anonymous-function branch August 24, 2020 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api.render() throws exception when called from anonymous functions
1 participant