From 351ea53bb91ede7f4fdbcf969d63e1715071e21a Mon Sep 17 00:00:00 2001 From: Matthew Batchelder Date: Wed, 1 May 2024 11:30:21 -0400 Subject: [PATCH] Apply suggestions from code review Small wording change to simplify a line. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ee2d22a..386da18 100644 --- a/README.md +++ b/README.md @@ -160,7 +160,7 @@ Asset::add( 'script-with-dependencies', 'js/something.js' ) ->register(); ``` -Note that the callable will be called when the asset is enqueued, not later, when the asset is printed. +Note that the callable will be executed when the asset is **_enqueued_**. #### Auto-enqueuing on an action To specify when to enqueue the asset, you can indicate it like so: