@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | public function is(string $tagName, array $properties = array(), string $scriptPath = ''): string |
| 54 | 54 | { |
| 55 | 55 | if (!empty($scriptPath)) { |
| 56 | - $this->script($scriptPath, [ 'block' => 'scriptsComponents' ]); |
|
| 56 | + $this->script($scriptPath, ['block' => 'scriptsComponents']); |
|
| 57 | 57 | } |
| 58 | 58 | return sprintf('is="%s" %s', $tagName, $this->props($properties)); |
| 59 | 59 | } |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | public function element(string $tagName, array $properties = array(), $scriptPath = ''): string |
| 70 | 70 | { |
| 71 | 71 | if (!empty($scriptPath)) { |
| 72 | - $this->script($scriptPath, [ 'block' => 'scriptsComponents' ]); |
|
| 72 | + $this->script($scriptPath, ['block' => 'scriptsComponents']); |
|
| 73 | 73 | } |
| 74 | 74 | return sprintf('<%s %s></%s>', $tagName, $this->props($properties), $tagName); |
| 75 | 75 | } |