Skip to content

Commit

Permalink
v3.3.1 released
Browse files Browse the repository at this point in the history
  • Loading branch information
Maiz committed Jun 30, 2019
1 parent 575b0a4 commit 4840a8f
Show file tree
Hide file tree
Showing 9 changed files with 312 additions and 10 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
English | [简体中文](./CHANGELOG_CN.md)

#### V3.3.1 (2019-06-30)

- [FEATURE] Add TypeScript definition file. (by by @jas0ncn)
- [FIX] Fix switch button position issue. (by @rexschuang)
- [FIX] Avoid scrolling to bottom when away from bottom edge. (by @ele828)
- [FIX] Fix a few minor issues. (by @stenders)


#### V3.3.0 (2019-02-02)

- [FEATURE] Add the ability to collapse the same log.
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
[English](./CHANGELOG.md) | 简体中文

#### V3.3.1 (2019-06-30)

- 【特性】增加 TypeScript 声明文件。(by @jas0ncn
- 【修复】修复开关按钮拖动后位置不对的问题。(by @rexschuang
- 【修复】不在列表底部时避免自动滚动。(by @ele828
- 【修复】修复若干小问题。(by @stenders


#### V3.3.0 (2019-02-02)

-特效】新增自动合并相同日志的能力。频繁输出相同日志时不再会被刷屏。
-特性】新增自动合并相同日志的能力。频繁输出相同日志时不再会被刷屏。
- 【修复】修复格式化日志(如 `console.log('[foo]', 'bar')`)无法显示到 Log 面板的问题。


Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dist/vconsole.min.js

Large diffs are not rendered by default.

169 changes: 166 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"babel-loader": "^8.0.4",
"babel-plugin-add-module-exports": "^1.0.0",
"chai": "^4.2.0",
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.0",
"html-loader": "^0.5.5",
"jsdom": "^13.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $.removeClass = function($el, className) {
for (let i=0; i<$el.length; i++) {
if (isArray(className)) {
className.forEach(name => $el[0].classList.remove(name));
}} else if (className.split(' ')[1]) {
} else if (className.split(' ')[1]) {
className.split(' ').forEach(name => $el[0].classList.remove(name))
} else {
$el[0].classList.remove(className);
Expand Down
Loading

0 comments on commit 4840a8f

Please sign in to comment.