Spec
pentaho.util. Spec
A singleton class that contains utilities related to handling of specification objects.
AMD Module
require(["pentaho/util/spec"], function(Spec) { /* code goes here */ });
Constructor
Name | Description |
---|---|
new Spec() |
Methods
Name | Description |
---|---|
merge(specTarget, specSource) : Object | Merges a specification into another. |
Constructor Details
new Spec() |
---|
Methods Details
merge(specTarget, specSource) : Object | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Merges a specification into another. The target specification is modified, but the source specification isn't. The latter is actually deep-cloned, whenever full-subtrees are set at a target place, to prevent future merges from inadvertently changing the source's internal structures. Source: javascript/web/pentaho/util/spec.js, line 62
|