mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature: client: migrate to ESM
This commit is contained in:
parent
0ccd109a50
commit
3bdf47a5bb
4 changed files with 36 additions and 36 deletions
|
|
@ -12,7 +12,6 @@ const _vim = require('./vim');
|
|||
const setCurrentByChar = require('./set-current-by-char');
|
||||
const {createBinder} = require('./binder');
|
||||
|
||||
const Info = DOM.CurrentInfo;
|
||||
const Chars = fullstore();
|
||||
|
||||
const toggleVim = (keyCode, overrides = {}) => {
|
||||
|
|
@ -124,6 +123,7 @@ function fromCharCode(keyIdentifier) {
|
|||
}
|
||||
|
||||
async function _switchKey(event) {
|
||||
const Info = DOM.CurrentInfo;
|
||||
let i;
|
||||
let isSelected;
|
||||
let prev;
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
'use strict';
|
||||
|
||||
const {escapeRegExp} = require('../../common/util');
|
||||
const Info = DOM.CurrentInfo;
|
||||
|
||||
module.exports = function setCurrentByChar(char, charStore) {
|
||||
const Info = DOM.CurrentInfo;
|
||||
let firstByName;
|
||||
let skipCount = 0;
|
||||
let setted = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue