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

Use setDataLibrary in Web Viewer #2138

Merged

Conversation

jstone-lucasfilm
Copy link
Member

This changelist updates the Web Viewer to use Document::setDataLibrary rather than Document::importLibrary, improving the efficiency of document loading.

This changelist updates the Web Viewer to use Document::setDataLibrary rather than Document::importLibrary, improving the efficiency of document loading.
@jstone-lucasfilm
Copy link
Member Author

I'm CC'ing @kwokcb and @ashwinbhat on this proposed change, just in case they spot any issues that I've missed.

@kwokcb
Copy link
Contributor

kwokcb commented Dec 10, 2024

Don't see any issues with this change. Looks good to me.

@jstone-lucasfilm
Copy link
Member Author

Thanks for the review, @kwokcb!

I took a look at updating our JavaScript unit tests to this pattern as well, but it looks like we'd need access to the loadLibraries helper function in JavaScript, so that remains a future step for now.

@jstone-lucasfilm jstone-lucasfilm merged commit bc2466e into AcademySoftwareFoundation:main Dec 10, 2024
34 checks passed
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.

2 participants