PDA

View Full Version : Ext.ux.util.mapObj() == traversing Ext.apply()



tidal
10 Dec 2007, 11:41 AM
Hi!

Not really a code invention, but a function I was missing in Ext
(If I have been blind, tell me!)
I actually need the functionally for a new version of my RemoteComponent.
But as I thought, this may help in other places, too, I just wanted to
extract it and call it an extension. :-?


Ext.ux.util.mapObj()
This function/method does the same as Ext.apply(), but traverses
all nested objects of the target.

Ext.ux.util.mapObjIf()
This function/method does the same as Ext.applyIf(), but traverses
all nested objects of the target.

Let