سؤال

im adding components to my Panel dynamically with the add function of the panel like this

this.add(Ext.ComponentManager.create(this.buildItems()[0]));

where this is my component extending an Ext.panel.Panel.

While developing this works like a charm. Though when i use sencha cmd (sencha-4.0.4.84 app build) and build the production build. There is no function add(...) in my panel defined and the line fails.

Any ideas? Please help!

هل كانت مفيدة؟

المحلول

See if you get any "Synchronous Warning" in console while developing. If yes, fix them.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top