Skip to content

Commit

Permalink
Merge branch 'master' of github.com:inpsyde/assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Mar 25, 2021
2 parents 5a67ecb + a4c97cb commit ce714a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/03 - Assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ There are two main classes delivered:
* `Inpsyde\Assets\Script` - dealing with JavaScript-files.
* `Inpsyde\Assets\Style` - dealing with CSS-files.

Each instance requires a `string $handle`, `string $url`, `int $location` and optionally a configuration
via `array $config`.
Each instance requires a `string $handle`, `string $url` and `int $location`.

## Overview API

Expand Down Expand Up @@ -406,4 +405,4 @@ use Inpsyde\Assets\Script;

$script = new Script('my-handle', 'script.js');
$script->withAttributes(['src' => 'another-script.js']); // Will not overwrite "script.js"
```
```

0 comments on commit ce714a2

Please sign in to comment.