html: upgrade to preact 10 and xterm 4.2.0

This commit is contained in:
Shuanglei Tao
2019-10-26 14:45:04 +08:00
parent e979d82f2d
commit 75b3b59247
6 changed files with 19 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
import { Component, h } from 'preact';
import { h, Component } from 'preact';
import { ITerminalOptions, ITheme } from 'xterm';
import { Xterm } from './terminal';

View File

@@ -1,4 +1,4 @@
import { Component, ComponentChildren, h } from 'preact';
import { h, Component, ComponentChildren } from 'preact';
import './modal.scss';

View File

@@ -1,5 +1,5 @@
import { bind } from 'decko';
import { Component, h } from 'preact';
import { h, Component } from 'preact';
import { IDisposable, ITerminalAddon, Terminal } from 'xterm';
import * as Zmodem from 'zmodem.js/src/zmodem_browser';