From 55dff277efb825279e6990efffe62c24ad140d3f Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sat, 9 Jan 2021 12:59:11 +0000 Subject: [PATCH] Remove old comments in edit character script. --- src/frontend/scripts/characters/edit.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/frontend/scripts/characters/edit.ts b/src/frontend/scripts/characters/edit.ts index b520327..26c4059 100644 --- a/src/frontend/scripts/characters/edit.ts +++ b/src/frontend/scripts/characters/edit.ts @@ -1,12 +1,11 @@ import { UpdateSkillValueRequest, UpdateAttributeRequest } from "../../_proto/cofd_api_pb"; import * as api from "../api"; +// This is the scripting for the edit character page, which submits +// changes to the server as the user makes them. + (async () => { type Option = T | null | undefined; - //TODO start refactoring these into a separate script, and make API calls - //take all necessary info (e.g. username and character ID, plus other stuff) - //as object params. - //const root = await protobuf.load("/protos/cofd_api.proto"); const [, , USERNAME, CHARACTER_ID] = window.location.pathname.split('/');