Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.createObjectData((function(x, y) {
let jsonObject = getJsonForElement(
'STORMCASE.UML.ucd.Actor, UMLUCD',
{ x, y },
{ width: 25, height: 50 },
{ Name: '' }
);
let usecaseActorObject = fdUseCaseActor.create({ primitive: jsonObject });
this._addToPrimitives(usecaseActorObject);
return usecaseActorObject.JointJS();
}).bind(this), e);
},
this.createObjectData((function(x, y) {
let jsonObject = getJsonForElement(
'STORMCASE.UML.cod.Actor, UMLCOD',
{ x, y },
{ width: 25, height: 50 },
{ Name: '' }
);
let codObject = UsecaseActor.create({ primitive: jsonObject });
this._addToPrimitives(codObject);
return codObject.JointJS();
}).bind(this), e);
},