mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[LinkService] Clarify comment
Clarify comment, based on feedback from nasa/openmctweb#98
This commit is contained in:
parent
c17269ba8b
commit
55362f6b26
@ -53,7 +53,8 @@ define(
|
||||
};
|
||||
|
||||
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');
|
||||
|
||||
return composition.add(object).then(function (result) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user