extjs - Can I override Ext.define? -


i want override default namespace ext.define. how can that? want thing abc.define instead of ext.define.

thank in advance. cheers!!

you can reference ext in variable if must.

abc = ext;  abc.define(.... 

i'm not sure why you'd want though. if real intention have created objects in custom namespace - ext.define does.

ext.define("abc.model.website", {.... 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -