mirror of
https://github.com/nasa/openmct.git
synced 2025-06-11 20:01:41 +00:00
Fixed jslint error
This commit is contained in:
@ -99,7 +99,7 @@ define(
|
|||||||
*/
|
*/
|
||||||
function addClonesToParent(self) {
|
function addClonesToParent(self) {
|
||||||
return self.firstClone.getCapability("persistence").persist()
|
return self.firstClone.getCapability("persistence").persist()
|
||||||
.then(function(){self.parent.getCapability("composition").add(self.firstClone.getId())})
|
.then(function(){self.parent.getCapability("composition").add(self.firstClone.getId());})
|
||||||
.then(function(){return self.parent.getCapability("persistence").persist();})
|
.then(function(){return self.parent.getCapability("persistence").persist();})
|
||||||
.then(function(){return self.firstClone;});
|
.then(function(){return self.firstClone;});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user