mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Moved first js files to ts
This commit is contained in:
parent
be2616f766
commit
865f2e565a
6 changed files with 361 additions and 360 deletions
|
@ -30,6 +30,8 @@ const setAssoc = Ace2Common.setAssoc;
|
|||
const noop = Ace2Common.noop;
|
||||
const hooks = require('./pluginfw/hooks');
|
||||
|
||||
import Scroll from './scroll'
|
||||
|
||||
function Ace2Inner(editorInfo, cssManagers) {
|
||||
const makeChangesetTracker = require('./changesettracker').makeChangesetTracker;
|
||||
const colorutils = require('./colorutils').colorutils;
|
||||
|
@ -42,7 +44,6 @@ function Ace2Inner(editorInfo, cssManagers) {
|
|||
const SkipList = require('./skiplist');
|
||||
const undoModule = require('./undomodule').undoModule;
|
||||
const AttributeManager = require('./AttributeManager');
|
||||
const Scroll = require('./scroll');
|
||||
const DEBUG = false;
|
||||
|
||||
const THE_TAB = ' '; // 4
|
||||
|
@ -77,7 +78,7 @@ function Ace2Inner(editorInfo, cssManagers) {
|
|||
};
|
||||
appendNewSideDivLine();
|
||||
|
||||
const scroll = Scroll.init(outerWin);
|
||||
const scroll = new Scroll(outerWin);
|
||||
|
||||
let outsideKeyDown = noop;
|
||||
let outsideKeyPress = (e) => true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue