Sencha Cmd - How can I change a namespace of existing application

1.1k Views Asked by At

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?

1

There are 1 best solutions below

1
On

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.