dojox.lang.utils.updateWithPattern
dojo.require("dojox.lang.utils");
defined in dojox/lang/utils.js
updates an existing object in place with properties from an "source" object.
Usage
parameter | type | description |
---|---|---|
target | Object | the "target" object to be updated |
source | Object | the "source" object, whose properties will be used to source the existed object. |
pattern | Array | an array of properties to be copied |
conv | Boolean | Optional. force conversion to the original type |