mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
chore: small changes
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
<span {{{class 'icon-search search'}}}></span>
|
||||
</div>
|
||||
<div {{{class 'logs-container'}}}>
|
||||
<div {{{class 'top-space'}}}></div>
|
||||
<ul {{{class 'fake-logs'}}}></ul>
|
||||
<ul {{{class 'logs'}}}></ul>
|
||||
<div {{{class 'bottom-space'}}}></div>
|
||||
</div>
|
||||
<div {{{class 'js-input'}}}>
|
||||
<div {{{class 'buttons'}}}>
|
||||
|
||||
@@ -31,9 +31,13 @@ export default class Logger extends Emitter {
|
||||
this._$container = $container
|
||||
this._container = $container.get(0)
|
||||
this._$el = $container.find('ul.eruda-logs')
|
||||
this._el = this._$el.get(0)
|
||||
this._$fakeEl = $container.find('ul.eruda-fake-logs')
|
||||
this._fakeEl = this._$fakeEl.get(0)
|
||||
this._el = this._$el.get(0)
|
||||
this._$topSpace = $container.find('.eruda-top-space')
|
||||
this._$bottomSpace = $container.find('.eruda-bottom-space')
|
||||
this._topSpaceHeight = 0
|
||||
this._bottomSpaceHeight = 0
|
||||
this._logs = []
|
||||
this._displayLogs = []
|
||||
this._timer = {}
|
||||
|
||||
Reference in New Issue
Block a user