-
Notifications
You must be signed in to change notification settings - Fork 143
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
Passthrough HTML attributes #588
Passthrough HTML attributes #588
Conversation
bobisjan
commented
Oct 25, 2020
•
edited
Loading
edited
- closes Should Embroider passthrough script attributes? #456
- add tests?
I never reviewed this because it has been marked Draft. But this is a real issue worth fixing. I think maybe only this part is needed? |
TBH I don't recall why the rest was added 🙈, but will look during weekend. |
Not sure where attributes get lost, but something is needed (don't mean that the proposed solution is correct). When I omit copying of attributes in |
I'm posting difference between source
<script src="{{rootURL}}assets/polyfill-shared.js" defer></script>
<script src="{{rootURL}}assets/polyfill-legacy.js" defer nomodule></script>
<script src="{{rootURL}}assets/polyfill-evergreen.js" defer></script>
<script src="{{rootURL}}assets/vendor.js" defer></script>
<script src="{{rootURL}}assets/zonky-app.js" defer></script>
<script src="/assets/polyfill-shared.js" defer="" data-fastboot-ignore=""></script>
<script src="/assets/polyfill-legacy.js" defer="" nomodule="" data-fastboot-ignore=""></script>
<script src="/assets/polyfill-evergreen.js" defer="" data-fastboot-ignore=""></script>
<script src="/assets/vendor.js"></script>
<fastboot-script src="/ember-fetch/fetch-fastboot.js"></fastboot-script>
<fastboot-script src="/assets/embroider_macros_fastboot_init.js"></fastboot-script>
<script src="/assets/zonky-app.js" type="module"></script>
<fastboot-script src="/ember-cli-fastboot/app-factory.js"></fastboot-script> |
23dcdba
to
621b885
Compare
Hi @bobisjan! Have a good new year! Do you have time to push it forward? I think only tests is missing here |
e50e940
to
e79b7eb
Compare
e79b7eb
to
7a4041a
Compare
It looks like this was covered by #1605 🎉 thanks again for your contribution |