Reputation: 11
I have an application on ExtJS 5.0.1 (Sencha Cmd 5.0.2) with a namespace Fox (Fox.MainPanel, Fox.ClientsGrid, etc). I need to change name of the application (namespace) to Wolf , and it must be Wolf.MainPanel, Wolf.Utils, Wolf.GridPanel in all of the application. How I can do it?
Upvotes: 1
Views: 1115
Reputation: 2206
At runtime you could achieve a similar effect by Wolf = Fox
. This would allow you to access all the objects via the Wolf namespace as well as the Fox namespace.
If you need to do it in the code, then search-and-replace is your friend.
Upvotes: 0