diff --git a/playground/activate.ts b/playground/activate.ts index bcc2390..45c2ab7 100644 --- a/playground/activate.ts +++ b/playground/activate.ts @@ -102,7 +102,12 @@ const handlers = { }) document.body.append(image) }, + + exit() { + nostalgist.exit() + }, } + export function activate(mod: typeof Nostalgist_) { const nostalgistConfig = { style: { diff --git a/playground/index.html b/playground/index.html index f20840a..66eb588 100644 --- a/playground/index.html +++ b/playground/index.html @@ -9,12 +9,28 @@ @@ -47,6 +63,7 @@