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

Fixes script tag when defer = false #24

Merged
merged 1 commit into from Mar 18, 2021

Conversation

hevertonfreitas
Copy link
Contributor

When $this->AssetMix->script('app', ['defer' => false]) is called, the output script tag still contains the defer="defer" option. I fixed it by changing the way that the default options are merged.

@ishanvyas22 ishanvyas22 merged commit c15b376 into ishanvyas22:master Mar 18, 2021
@ishanvyas22
Copy link
Owner

Thanks!

@ishanvyas22
Copy link
Owner

Released in 1.3.0.

@ishanvyas22 ishanvyas22 self-requested a review March 20, 2021 06:27
@ishanvyas22 ishanvyas22 added bug Something isn't working cake4 Specifies that the issue/pr is specific to master(cake4) branch labels Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cake4 Specifies that the issue/pr is specific to master(cake4) branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants