[LinkService] Clarify comment

Clarify comment, based on feedback from nasa/openmctweb#98
This commit is contained in:
Victor Woeltjen 2015-09-22 13:48:11 -07:00
parent c17269ba8b
commit 55362f6b26

View File

@ -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) {