From 57efe4e0d13b639d3a53adbdf6a669c2c63b4868 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 3 Dec 2015 17:10:28 -0800 Subject: [PATCH] Removed UUID reference --- platform/entanglement/src/services/CopyTask.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/entanglement/src/services/CopyTask.js b/platform/entanglement/src/services/CopyTask.js index 43ec1960b4..6ac6bcc6a8 100644 --- a/platform/entanglement/src/services/CopyTask.js +++ b/platform/entanglement/src/services/CopyTask.js @@ -23,8 +23,8 @@ /*global define */ define( - ["uuid"], - function (uuid) { + [], + function () { "use strict"; /** @@ -148,7 +148,7 @@ define( // creation capability of the targetParent to create the // new clone. This will ensure that the correct persistence // space is used. - clone = this.parent.hasCapability("instantiation") && this.parent.useCapability("instantiation", cloneObjectModel(originalObject.getModel())); + clone = this.parent.useCapability("instantiation", cloneObjectModel(originalObject.getModel())); //Iterate through child tree return this.$q.when(originalObject.useCapability('composition')).then(function(composees){