Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.updateVertexStatus(2);
break;
case WUStateID.Aborting:
case WUStateID.Running:
this.updateVertexStatus(3, true);
break;
case WUStateID.Aborted:
case WUStateID.Archived:
case WUStateID.Completed:
this.updateVertexStatus(4);
break;
case WUStateID.Failed:
this.updateVertexStatus(4, false);
break;
case WUStateID.DebugPaused:
case WUStateID.DebugRunning:
case WUStateID.Paused:
case WUStateID.Unknown:
default:
this.updateVertexStatus(0);
break;
}
super.update(domNode, element);
this.zoomToFit();
}
this.updateVertexStatus(2);
break;
case WUStateID.Aborting:
case WUStateID.Running:
this.updateVertexStatus(3, true);
break;
case WUStateID.Aborted:
case WUStateID.Archived:
case WUStateID.Completed:
this.updateVertexStatus(4);
break;
case WUStateID.Failed:
this.updateVertexStatus(4, false);
break;
case WUStateID.DebugPaused:
case WUStateID.DebugRunning:
case WUStateID.Paused:
case WUStateID.Unknown:
default:
this.updateVertexStatus(0);
break;
}
super.update(domNode, element);
this.zoomToFit();
}