mardi 21 octobre 2014

Custom use of alias

In `Ext.Class` under alias there is a list of namespaces (feature, plugin, store, widget).

I'm trying to create a new custom namespace, so I'll be able to set for example:
And then I'll be able to do:

Ext.createByAlias('foo.bar');




I've seen that in `Ext.ClassManager` there is a call for `Manager.registerPostprocessor('alias'...` that should register the alias, but I don't really understand when this should be invoked and it doesn't seem to register my alias.

How can I get my custom alias namespace to work?






Custom use of alias

Aucun commentaire:

Enregistrer un commentaire