Skip to content
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

Javascript error Unexpected end of input #158

Open
abhijit503 opened this issue Sep 13, 2021 · 1 comment
Open

Javascript error Unexpected end of input #158

abhijit503 opened this issue Sep 13, 2021 · 1 comment

Comments

@abhijit503
Copy link

sir i have a problem to use laravel-page-speed package...
when i use this package in my laravel app it through a error:
Uncaught SyntaxError: Unexpected end of input

my environtment is php version 7.4.

what can i do? Please help

@tavvvv
Copy link

tavvvv commented Sep 26, 2021

Remove single line comments from your JavaScript.

Use /*This is a comment*/ instead of //This is a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants