Move platform to common and remove dom dependence in common

Because common/ imports 'xterm', it also imported dom accidentally.

Fixes #1990
This commit is contained in:
Daniel Imms
2019-03-31 23:24:29 -07:00
parent b05c66b132
commit 4a3609f805
15 changed files with 32 additions and 21 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ import { Renderer } from './renderer/Renderer';
import { Linkifier } from './Linkifier';
import { SelectionManager } from './SelectionManager';
import { CharMeasure } from './ui/CharMeasure';
import * as Browser from './core/Platform';
import * as Browser from './common/Platform';
import { addDisposableDomListener } from './ui/Lifecycle';
import * as Strings from './Strings';
import { MouseHelper } from './ui/MouseHelper';