mirror of
https://github.com/liriliri/eruda.git
synced 2026-05-20 08:47:20 +08:00
release: v1.7.0
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
## v1.7.0 (8 Oct 2019)
|
||||
|
||||
* feat: resize [#89](https://github.com/liriliri/eruda/issues/89)
|
||||
* feat(console): replace help button with filter
|
||||
* feat(console): disable js execution
|
||||
* feat(console): [utilities api](https://developers.google.cn/web/tools/chrome-devtools/console/utilities)
|
||||
* fix(console): disable log collapsing for group
|
||||
* fix(elements): select not working for desktop
|
||||
|
||||
## v1.6.3 (1 Oct 2019)
|
||||
|
||||
* fix(console): log border style
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eruda",
|
||||
"version": "1.6.3",
|
||||
"version": "1.7.0",
|
||||
"description": "Console for Mobile Browsers",
|
||||
"main": "eruda.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -23,7 +23,8 @@ import {
|
||||
isNaN,
|
||||
isNum,
|
||||
stringifyAll,
|
||||
nextTick
|
||||
nextTick,
|
||||
Emitter
|
||||
} from '../lib/util'
|
||||
|
||||
export default class Elements extends Tool {
|
||||
@@ -39,6 +40,8 @@ export default class Elements extends Tool {
|
||||
this._selectElement = false
|
||||
this._observeElement = true
|
||||
this._history = []
|
||||
|
||||
Emitter.mixin(this)
|
||||
}
|
||||
init($el, container) {
|
||||
super.init($el)
|
||||
@@ -71,11 +74,15 @@ export default class Elements extends Tool {
|
||||
return super.hide()
|
||||
}
|
||||
set(e) {
|
||||
if (e === this._curEl) return
|
||||
|
||||
this._setEl(e)
|
||||
this.scrollToTop()
|
||||
this._render()
|
||||
this._updateHistory()
|
||||
|
||||
this.emit('change', e)
|
||||
|
||||
return this
|
||||
}
|
||||
overrideEventTarget() {
|
||||
|
||||
Reference in New Issue
Block a user