Remove old comments in edit character script.

This commit is contained in:
projectmoon 2021-01-09 12:59:11 +00:00
parent ba7fc8268f
commit 55dff277ef
1 changed files with 3 additions and 4 deletions

View File

@ -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> = 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('/');