- code documentation, clean-up

- sourceControlPane argument in the command handlers
- command to open fiddle in the browser
This commit is contained in:
Jan Dolejsi
2019-05-17 00:52:52 +02:00
parent 4143736821
commit 80f5553e69
5 changed files with 110 additions and 68 deletions

View File

@ -147,7 +147,7 @@ export async function uploadFiddle(slug: string, version: number, html: string,
}
}
function toFiddleId(slug: string, version: number | undefined): string {
export function toFiddleId(slug: string, version: number | undefined): string {
if (version === undefined) {
return slug;
}