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

Editor: Removes <!-- includes --> replacement code when emits app #28627

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

ycw
Copy link
Contributor

@ycw ycw commented Jun 11, 2024

Description

This token <!-- includes --> is not present at editor/js/libs/app/index.html, so removes the replacement code.

@@ -115,10 +115,6 @@ function SidebarProjectApp( editor ) {

content = content.replace( '<!-- title -->', title );

const includes = [];

content = content.replace( '<!-- includes -->', includes.join( '\n\t\t' ) );
Copy link
Collaborator

@Mugen87 Mugen87 Jun 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was part of the initial VR support, see f8e0e54. It is indeed not required anymore.

If we ever want to include addons in published apps, we should use a different approach in any event. I have outlined one possible approach in #28187 (comment).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implemented #28636

@Mugen87 Mugen87 merged commit ee32a01 into mrdoob:dev Jun 11, 2024
11 checks passed
@Mugen87 Mugen87 added this to the r166 milestone Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants