Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit be2b8b1

Browse files
[auto commit] Linting
1 parent cfe5981 commit be2b8b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Tags/Livewire.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function scriptConfig(): string
8686
{
8787
return \Livewire\Mechanisms\FrontendAssets\FrontendAssets::scriptConfig();
8888
}
89-
89+
9090
/**
9191
* Antlers implementation of @assets - https://livewire.laravel.com/docs/javascript#loading-assets
9292
*
@@ -95,17 +95,17 @@ public function scriptConfig(): string
9595
public function assets(): void
9696
{
9797
$html = (string) $this->parse();
98-
98+
9999
$key = md5($html);
100-
100+
101101
if (in_array($key, \Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys)) {
102102
// Skip it...
103103
} else {
104104
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys[] = $key;
105105
\Livewire\store($this->context['__livewire'])->push('assets', $html, $key);
106106
}
107107
}
108-
108+
109109
/**
110110
* Antlers implementation of @script - https://livewire.laravel.com/docs/javascript#executing-scripts
111111
*
@@ -114,9 +114,9 @@ public function assets(): void
114114
public function script(): void
115115
{
116116
$html = trim((string) $this->parse());
117-
117+
118118
$key = md5($html);
119-
119+
120120
\Livewire\store($this->context['__livewire'])->push('scripts', $html, $key);
121121
}
122122
}

0 commit comments

Comments
 (0)