Skip to content
Snippets Groups Projects
Commit 14cc341c authored by syuilo's avatar syuilo
Browse files

chore: add comments

parent ce6cc21b
No related branches found
No related tags found
No related merge requests found
// NIRAX --- A lightweight router
import { EventEmitter } from 'eventemitter3';
import { Ref, Component, ref, shallowRef, ShallowRef } from 'vue';
......
// 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<T extends StateDef> {
api('i/registry/set', {
scope: ['client', this.key],
key: key,
value: value
value: value,
});
break;
}
......@@ -161,7 +163,7 @@ export class Storage<T extends StateDef> {
const val = setter ? setter(value) : value;
this.set(key, val);
valueRef.value = val;
}
},
};
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment