Skip to content

Commit a52ff60

Browse files
committed
chore: README updated
1 parent 18fd0fe commit a52ff60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,16 +169,16 @@ Want to do more advanced processing of your JavaScript code before inlining it?
169169

170170
Create a PHP class:
171171
- that implements the `RenderableScript` interface - using it you can fetch / prepare / create JS code in any way you want;
172-
- and use it with `BladeInlineScripts::take(...)` method.
172+
- and place it in `BladeInlineScripts::take(...)` method.
173173

174174
Use interface `ScriptWithPlaceholders` for scripts with placeholders to be replaced with variables.
175175

176176
Want to load JS code from a file? Extend the abstract class `FromFile` or `FromFileWithPlaceholders`.
177177

178178
```php
179-
abstract class FromFile implements RenderableScript
179+
abstract class FromFile implements RenderableScript;
180180

181-
abstract class FromFileWithPlaceholders implements ScriptWithPlaceholders
181+
abstract class FromFileWithPlaceholders implements ScriptWithPlaceholders;
182182
```
183183

184184
## Bonus - Unit tests for JS scripts

0 commit comments

Comments
 (0)