diff --git a/src/assets/wise5/services/gradingNodeService.ts b/src/assets/wise5/services/gradingNodeService.ts index 50b55ef62e..4f568a1161 100644 --- a/src/assets/wise5/services/gradingNodeService.ts +++ b/src/assets/wise5/services/gradingNodeService.ts @@ -3,11 +3,6 @@ import { TeacherNodeService } from './teacherNodeService'; @Injectable() export class GradingNodeService extends TeacherNodeService { - /** - * Get the next node id in the project sequence that captures student work - * @param currentId (optional) - * @returns next node id - */ getNextNodeId(currentId = null): Promise { return super.getNextNodeId(currentId).then((nextNodeId: string) => { if (!nextNodeId) return null; @@ -17,18 +12,10 @@ export class GradingNodeService extends TeacherNodeService { }); } - /** - * Go to the previous node that captures work - */ goToPrevNode(): void { this.setCurrentNode(this.getPrevNodeId()); } - /** - * Get the previous node id in the project sequence that captures student work - * @param currentId (optional) - * @returns next node id - */ getPrevNodeId(currentId = null) { const prevNodeId = super.getPrevNodeId(currentId); if (!prevNodeId) return null; diff --git a/src/assets/wise5/services/teacherNodeService.ts b/src/assets/wise5/services/teacherNodeService.ts index 01b9503303..5b3e1a0a70 100644 --- a/src/assets/wise5/services/teacherNodeService.ts +++ b/src/assets/wise5/services/teacherNodeService.ts @@ -24,10 +24,6 @@ export class TeacherNodeService extends NodeService { this.starterStateResponseSource.next(args); } - /** - * Get the previous node in the project sequence - * @param currentId (optional) - */ getPrevNodeId(currentId?: string): string { let prevNodeId = null; const currentNodeId = currentId ?? this.dataService.getCurrentNodeId();