Skip to content

Commit c4f393b

Browse files
committed
lowercase for start of function
1 parent c77c44c commit c4f393b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/core/base64.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export function b64EncodeUnicode(str: string) {
22
return btoa(encodeURIComponent(str));
33
}
44

5-
export function UnicodeDecodeB64(str: string) {
5+
export function unicodeDecodeB64(str: string) {
66
return decodeURIComponent(atob(str));
77
}

src/project/types/website/listing/website-listing-template.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import { formatDate, parsePandocDate } from "../../../../core/date.ts";
4444
import { truncateText } from "../../../../core/text.ts";
4545
import { encodeAttributeValue } from "../../../../core/html.ts";
4646
import { imagePlaceholder, isPlaceHolder } from "./website-listing-read.ts";
47-
import { b64EncodeUnicode, UnicodeDecodeB64 } from "../../../../core/base64.ts";
47+
import { b64EncodeUnicode, unicodeDecodeB64 } from "../../../../core/base64.ts";
4848

4949
export const kDateFormat = "date-format";
5050

@@ -164,7 +164,7 @@ export function templateMarkdownHandler(
164164
// some custom utils function
165165
ejsParams["utils"] = {
166166
b64encode: b64EncodeUnicode,
167-
b64decode: UnicodeDecodeB64,
167+
b64decode: unicodeDecodeB64,
168168
};
169169

170170
return ejsParams;

0 commit comments

Comments
 (0)