PDA

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


tidal
12-10-2007, 02:41 PM
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