reorder lang key rewrites. reorder code.load event
This commit is contained in:
parent
db16ef3545
commit
339dc7fa21
2 changed files with 16 additions and 13 deletions
|
|
@ -1236,10 +1236,9 @@
|
|||
}
|
||||
|
||||
function loadCode(code, type) {
|
||||
API.event.emit("code.load", {code, type});
|
||||
setViewMode(VIEWS.PREVIEW);
|
||||
setOpacity(0);
|
||||
|
||||
API.event.emit("code.load", {code, type});
|
||||
KIRI.client.parse({code, type, settings}, progress => {
|
||||
API.show.progress(progress, "parsing");
|
||||
}, (layers, maxSpeed) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue