-
8 Mar 2012 6:41 AM #1
Unreflected Touch API changes in Designer (v309)
Unreflected Touch API changes in Designer (v309)
There are several problems with API changes inside Event Listeners and generated method stubs.
Example
Ext.DataView.nestedList
API Docu
leafitemtap( Ext.dataview.NestedList this, Ext.List list, Number index, Ext.dom.Element target, Ext.data.Record record, Ext.event.Event e, Object eOpts )
Generated Stub
onLaunchApp: function(nestedlist, subList, subIdx, item, e, options) {
// dirty workaround till fix
var record = e;
}
I think this is not the only place where such things took place! ;-)
Maybe you can implement API refactoring workflow to catch such issues on further API changes.
Cheers Holger
-
8 Mar 2012 12:48 PM #2
Workround was included!
There is a shift in function params.
e = record
options = event
No change to access eOpts (maybe there is a arguments reflection in js)
-
9 Mar 2012 10:07 AM #3
We've updated the definitions and it will be in the next build > 311.
Aaron Conran
@aconran
Sencha Architect Development Team
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1528
in
Architect 2.0.


Reply With Quote