Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Include Page
Infusion14:sneak peek warningInfusion14:
sneak peek warning

A special "shallow copy" operation suitable for nondestructively merging trees of components. jQuery.extend in shallow mode will neglect null valued properties.


{section}
{column:width=70%}
A special "shallow copy" operation suitable for nondestructively merging trees of components. jQuery.extend in shallow mode will neglect {{null}} valued properties.
{code:javascript|borderStyle=none|bgColor=white}
fluid.renderer.mergeComponents(target, source);
{code}
*File name:* {{RendererUtilities.js

Parameters

}}

h2. Parameters

{span:class=borderless-table
}
|*{{target}}*| (Object) The destination for the
copy
 copy |
|*{{source}}*| (Object) The object to
copy

Return Value

Div
class
Wiki Markup
{div:class=api-page
}

h1. fluid.renderer.mergeComponents(target, source)
Section
Column
width70%
Code Block
javascriptjavascript
bgColorwhite
borderStylenone
Span
class

target

source

Span
classborderless-table

Object

The filled-in target object

Column
width5%
Column

See Also

Example

Code Blockjavascriptjavascript

example here
In this example, description here...
 copy |
{span}

h2. Return Value
{span:class=borderless-table}
|*Object*| The filled-in {{target}} object |
{span}

{column}

{column:width=5%}
{column}

{column}
h3. See Also
{column}
{section}
----


h3. Example
{code:javascript}
example here
{code}
In this example, description here...

{div}