mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 07:08:12 +00:00
[Creation] Rename creation capability
...to instantiation, to distinguish from creation (which typically includes persistence.)
This commit is contained in:
@ -61,7 +61,7 @@ define(
|
||||
*
|
||||
* @returns {DomainObject} the new domain object
|
||||
*/
|
||||
CreationCapability.prototype.create = function (model) {
|
||||
CreationCapability.prototype.instantiate = function (model) {
|
||||
var id = uuid(),
|
||||
capabilities = this.getCapabilities(model);
|
||||
return new DomainObjectImpl(id, model, capabilities);
|
||||
@ -72,7 +72,7 @@ define(
|
||||
* @see {platform/core.CreationCapability#create}
|
||||
*/
|
||||
CreationCapability.prototype.invoke =
|
||||
CreationCapability.prototype.create;
|
||||
CreationCapability.prototype.instantiate;
|
||||
|
||||
return CreationCapability;
|
||||
}
|
Reference in New Issue
Block a user