-
-
Notifications
You must be signed in to change notification settings - Fork 57
Refactor js classes #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.x
Are you sure you want to change the base?
Changes from 1 commit
ea77af8
6d646e8
9cc83af
99f7d58
3dc9d8a
d07163c
fe7d44c
1364f68
66fb7ba
9980fe6
e8b4872
1f498bc
6176e8a
bc38317
2acf670
e3fb3cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,9 +7,19 @@ | |
| class ScriptController | ||
| { | ||
| public function __invoke(Request $request) | ||
| { | ||
|
|
||
| } | ||
|
||
|
|
||
| public function getCookieScript() | ||
| { | ||
| $content = str_replace('{config:1}', $this->generateConfig(), file_get_contents(LCC_ROOT . '/dist/cookies.js')); | ||
| return response($content)->header('Content-Type', 'application/javascript'); | ||
| } | ||
|
|
||
| public function getModalScript() | ||
| { | ||
| $content = file_get_contents(LCC_ROOT . '/dist/modal.js'); | ||
| return response($content)->header('Content-Type', 'application/javascript'); | ||
| } | ||
|
||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.