Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Fix async and defer options when loading scripts#737

Open
dawid-in wants to merge 1 commit into
pagekit:developpagekit/pagekit:developfrom
dawid-in:fix_async_deferdawid-in/pagekit:fix_async_deferCopy head branch name to clipboard
Open

Fix async and defer options when loading scripts#737
dawid-in wants to merge 1 commit into
pagekit:developpagekit/pagekit:developfrom
dawid-in:fix_async_deferdawid-in/pagekit:fix_async_deferCopy head branch name to clipboard

Conversation

@dawid-in

@dawid-in dawid-in commented Aug 19, 2016

Copy link
Copy Markdown

Options are stored as value in the array, rather than a key.

[x] I have read and followed the contribution guide: https://github.com/pagekit/pagekit/blob/develop/.github/CONTRIBUTING.md
[x] The destination branch of the pull request is the develop branch

@ahoiroman

Copy link
Copy Markdown
Contributor

Hi @dawid-in

Could you please tell us a bit more about your pull request? I think it's still possible to use async and defer, using something like:

$app[ 'scripts' ]->add('foo', 'bar', $dependencies, ['defer' => true, 'async' => true]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.