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

Const identifier reassignment bug #71

Closed
ARahimKhan opened this issue Jan 12, 2024 · 2 comments
Closed

Const identifier reassignment bug #71

ARahimKhan opened this issue Jan 12, 2024 · 2 comments

Comments

@ARahimKhan
Copy link

We are pulling a platform.js script from the CDN provided in your readme but it stopped working very recently (within last 24 hours). The issue seems to be a const reassignment in the addTimers function. For now, I have resolved this by patching the raw js file and changing const o to let o

I am attaching images for your reference

Console error:
Screenshot 2024-01-12 at 10 02 40 AM

Before patch:
Screenshot 2024-01-12 at 2 10 38 PM

After patch:
Screenshot 2024-01-12 at 2 10 29 PM

Please do let me know if this is expected behaviour or a bug and if it is expected, let me know how I can resolve it without patching the script

@ARahimKhan ARahimKhan changed the title const variable reassignment bug Const identifier reassignment bug Jan 12, 2024
@pusewicz
Copy link
Contributor

@ARahimKhan Thank you for raising this issue. We have reverted a recent change that introduced this regression. Can you confirm everything is in order?

@ARahimKhan
Copy link
Author

Yes, the issue seems to be fixed now, thanks for the quick resolution

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