Reputation: 1
I need to create/call a specific class to have utilities functions for my app. This exactly correspond to this topic: Where should I define global functions in ExtJS 4 MVC?
But this, do not work with ExtJS 5. So I would like to know how make with ExtJS 5.
Thank you for your help.
Upvotes: 0
Views: 261
Reputation: 11
Create a singleton class with all these functions, give the class an alternate name like Utils. Require the class in the main application and simply use Utils.method
Upvotes: 1