cyrilluce
26 May 2010, 2:11 AM
In Ext.lib.Ajax.request, it copy some properties from options to itself, and some never used but always keep.
For example, the store.load will call with reader in options, if that's no 'reader' on Ext.lib.Ajax (applyIf)
It will keep it, and cause some leak (reader ref store, store's listeners maybe ref components, etc)
Is there any other reason use Ext.applyIf(me, options) ?
For example, the store.load will call with reader in options, if that's no 'reader' on Ext.lib.Ajax (applyIf)
It will keep it, and cause some leak (reader ref store, store's listeners maybe ref components, etc)
Is there any other reason use Ext.applyIf(me, options) ?