[LinkService] Clarify comment
Clarify comment, based on feedback from nasa/openmctweb#98
This commit is contained in:
@@ -53,7 +53,8 @@ define(
|
|||||||
};
|
};
|
||||||
|
|
||||||
LinkService.prototype.perform = function (object, parentObject) {
|
LinkService.prototype.perform = function (object, parentObject) {
|
||||||
// Note that this was checked-for explicitly during validate step
|
// It is assumed here that validate has been called, and therefore
|
||||||
|
// that parentObject.hasCapability('composition').
|
||||||
var composition = parentObject.getCapability('composition');
|
var composition = parentObject.getCapability('composition');
|
||||||
|
|
||||||
return composition.add(object).then(function (result) {
|
return composition.add(object).then(function (result) {
|
||||||
|
|||||||
Reference in New Issue
Block a user