Fixed jslint error

This commit is contained in:
Henry
2015-12-03 15:32:26 -08:00
parent baec0f9719
commit 6e391098a3

View File

@ -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;});
} }