-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added: - Possibility to obtain the `Collection` of all assets registered/enqueued. This enables the possibility to act on existing assets both individually and collectively - Allow deregister and dequeue t be done directly from the Assets class, including for assets not registered/enqueued via the Assets class itself - `JsEnqueue::useStrategy()` to allow editing the "in_footer" strategy after registration/enqueue - `Collection::append()`, `Collection::remove()`, and Collection::dequeue() - Added `Enqueue::deregister()` to the `Enqueue` contract - Action hook fired on the registration, internally used to remove the assets from the Collection Changed: - Assets previoulsy registered via WP functions are deregistered to allow new registration via the library - Improved tests and more consistency in code styles
- Loading branch information
Showing
13 changed files
with
640 additions
and
125 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
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
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
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.