From 14cc341cc93c088bd98c6f4a04c93d455e47b3cc Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 21 Jun 2022 14:18:06 +0900 Subject: [PATCH] chore: add comments --- packages/client/src/nirax.ts | 2 ++ packages/client/src/pizzax.ts | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/client/src/nirax.ts b/packages/client/src/nirax.ts index a0cdb0348..d21978744 100644 --- a/packages/client/src/nirax.ts +++ b/packages/client/src/nirax.ts @@ -1,3 +1,5 @@ +// NIRAX --- A lightweight router + import { EventEmitter } from 'eventemitter3'; import { Ref, Component, ref, shallowRef, ShallowRef } from 'vue'; diff --git a/packages/client/src/pizzax.ts b/packages/client/src/pizzax.ts index fa35df551..89679123b 100644 --- a/packages/client/src/pizzax.ts +++ b/packages/client/src/pizzax.ts @@ -1,3 +1,5 @@ +// PIZZAX --- A lightweight store + import { onUnmounted, Ref, ref, watch } from 'vue'; import { $i } from './account'; import { api } from './os'; @@ -116,7 +118,7 @@ export class Storage { api('i/registry/set', { scope: ['client', this.key], key: key, - value: value + value: value, }); break; } @@ -161,7 +163,7 @@ export class Storage { const val = setter ? setter(value) : value; this.set(key, val); valueRef.value = val; - } + }, }; } }