begin refactor of 4.x ui
This commit is contained in:
parent
4caa57bf6d
commit
25c1959e57
11 changed files with 375 additions and 278 deletions
|
|
@ -12,7 +12,7 @@
|
|||
// dep: kiri-mode.laser.driver
|
||||
gapp.register("kiri.function", [], (root, exports) => {
|
||||
|
||||
const { kiri, noop } = root;
|
||||
const { kiri } = root;
|
||||
const { api, client, consts, utils } = kiri;
|
||||
const { space } = moto;
|
||||
const { COLOR, PMODES } = consts;
|
||||
|
|
@ -427,6 +427,7 @@ function parseCode(code, type) {
|
|||
});
|
||||
}
|
||||
|
||||
// extend API (api.function)
|
||||
const functions = api.function = {
|
||||
slice: prepareSlices,
|
||||
print: preparePreview,
|
||||
|
|
|
|||
Loading…
Reference in a new issue