-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add {'loading': 'inline'} option for Js and CSS assets (#1377)
* Assets.php: Extract common functionaly of addCss() and addJs() into addTo(), make css() and js() honor $attributes['loading'], make pipelineCss() and pipelineJs() return generated content instead of URL depending on new option $returnURL. * AssetsTest.php: Accept new 'loading' option for CSS, add tests for adding and pipelining local and remote assets with inline loading.
- Loading branch information
Showing
2 changed files
with
170 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.