File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,16 +169,16 @@ Want to do more advanced processing of your JavaScript code before inlining it?
169169
170170Create 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
174174Use interface ` ScriptWithPlaceholders ` for scripts with placeholders to be replaced with variables.
175175
176176Want 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
You can’t perform that action at this time.
0 commit comments