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

Rename enable_mime() to enable() #210

Merged
merged 2 commits into from
Jan 2, 2023
Merged

Rename enable_mime() to enable() #210

merged 2 commits into from
Jan 2, 2023

Conversation

jonmmease
Copy link
Collaborator

This PR renames the vf.enable_mime() function to simply vf.enable().

This is to remove an early point of confusion for users who aren't familiar with the term mime(type). There is still a mimetype argument to the function, but it will default to html so a user isn't forced to deal with it in most cases.

The enable_widget() function stays as is. I considered merging it into vf.enable(), but the widget renderer has several distinct configuration options that would complicate the signature of vf.enable with options that are only valid for the widget renderer.

@jonmmease jonmmease merged commit d2c32b8 into main Jan 2, 2023
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.

1 participant