Skip to content

Commit

Permalink
Merge pull request #50 from sovetski/patch-1
Browse files Browse the repository at this point in the history
Update getting-started.md
  • Loading branch information
Chrico authored Jan 22, 2024
2 parents 9176a67 + 69ce3fc commit 01a97d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ This way you can start registering your assets:
use Inpsyde\Assets\AssetManager;
use Inpsyde\Assets\Script;
use Inpsyde\Assets\Style;
use Inpsyde\Assets\Asset;


add_action(
AssetManager::ACTION_SETUP,
function(AssetManager $assetManager) {

$assetManager->register(
new Script('foo', 'www.example.com/script.js'),
new Style('foo', 'www.example.com/style.css')
Expand Down

0 comments on commit 01a97d7

Please sign in to comment.