- My goal:
Use the Preload custom JavaScript (Preload custom JavaScript code and libraries | Retool Docs) code feature on web, in one app.
The preloaded JS code is like the following:
class MyCustomClass {
static foo(){}
}
window.MyCustomClass = MyCustomClass;
The usage is in na JS query like:
window.MyCustomClass.foo();
- Issue:
Until yesterday, the app was working just fine but now all the users are getting this error:
window.MyCustomClass.foo() is not a function
- Steps I've taken to troubleshoot:
Tried older versions of the app. I've got the same error in all of them.
- Additional info: (Cloud or Self-hosted, Screenshots)
Cloud

