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 - Unable to make sub reports with Jasper -

sql - The object name contains more than the maximum number of prefixes. The maximum is 2 -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -