Skip to content

Commit

Permalink
v3.2.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
Maizify committed Apr 10, 2018
1 parent 2148872 commit 9b3d507
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
English | [简体中文](./CHANGELOG_CN.md)

#### V3.2.0-dev (2018-04-xx)
#### V3.2.0 (2018-04-10)

- [FEATURE] Support `console.time()` and `console.timeEnd()`.
- [FEATRUE] Add `disableLogScrolling` (in `vConsole.option`).
- [FIX] Fix `setOption()` error.
- [FIX] Fix cookies' value wrong display.
- [FIX] Fix "Uncaught InvalidStateError". (by @fireyy)


#### V3.1.0 (2017-12-27)
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[English](./CHANGELOG.md) | 简体中文

#### V3.2.0-dev (2018-04-xx)
#### V3.2.0 (2018-04-10)

- 【特性】支持 `console.time()``console.timeEnd()`
- 【特性】新增 `disableLogScrolling` 配置项(`vConsole.option`),用于禁止新日志引起的自动滚动到底部。
- 【修复】修复初始化后立即调用 `setOption` 引起的错误。
- 【修复】修复 cookies 显示错误的问题。
- 【修复】修复 "Uncaught InvalidStateError" 错误。 (by @fireyy)


#### V3.1.0 (2017-12-27)
Expand Down
8 changes: 4 additions & 4 deletions dist/vconsole.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vconsole",
"version": "3.2.0-dev",
"version": "3.2.0",
"description": "A lightweight, extendable front-end developer tool for mobile web page.",
"homepage": "https://github.com/Tencent/vConsole",
"main": "dist/vconsole.min.js",
Expand Down
5 changes: 4 additions & 1 deletion src/network/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,10 @@ class VConsoleNetworkTab extends VConsolePlugin {

// update status
item.readyState = XMLReq.readyState;
if (XMLReq.readyState > 1) item.status = XMLReq.status;
item.status = 0;
if (XMLReq.readyState > 1) {
item.status = XMLReq.status;
}
item.responseType = XMLReq.responseType;

if (XMLReq.readyState == 0) {
Expand Down

0 comments on commit 9b3d507

Please sign in to comment.