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

Having "var e= m(blurred)" crashed the theme #1

Open
garvitjain123 opened this issue Oct 22, 2020 · 0 comments
Open

Having "var e= m(blurred)" crashed the theme #1

garvitjain123 opened this issue Oct 22, 2020 · 0 comments

Comments

@garvitjain123
Copy link

I recently found a bug in your production code.

I don't think it is an issue rather than a bug

In the production build there are 2 .js files that gets generated.
One of them is something like app* .
In this file there is a line
if(a["settings"].randomizeBG){var e=m();return e[Math.floor(Math.random()*e.length)]

which after prettifying looks like

if(a["settings"].randomizeBG)
{
var e=m(blurred);
return e[Math.floor(Math.random()*e.length)]
....

Earlier my theme was constantly getting crashed because it was throwing an error

CONSOLE ERROR Reference Error: ReferenceError: Can't find variable: blurred

and this would constantly crash my theme

Removing this "blurred" make it run like a charm.

just need to do

"var e = m();"

I didn't understand the code fully though.

Here is the following error
image

Thank You for making such an awesome once again.
Cheers man 👍 :

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

1 participant