Skip to content

Commit

Permalink
fix: Add Symbol polyfill. (issue #361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maizify committed Jan 27, 2021
1 parent 73e1941 commit f5cf794
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ English | [简体中文](./CHANGELOG_CN.md)

#### V3.4.1 (2021-xx-xx)

- [FIX] Remove `transitionEnd` to prevent compatibility issues. (issue #364)
- [FIX] Add `Symbol` polyfill. (issue #361)
- [FIX] Fix `fetch` optional parameter `init`. (issue #363, #365)
- [FIX] Remove `transitionEnd` to prevent compatibility issues. (issue #364)

#### V3.4.0 (2021-01-14)

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

Large diffs are not rendered by default.

5 changes: 5 additions & 0 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 @@ -20,6 +20,7 @@
"url": "git+https://github.com/Tencent/vConsole.git"
},
"dependencies": {
"core-js": "^3.8.3",
"mutation-observer": "^1.0.3"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions src/vconsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Unless required by applicable law or agreed to in writing, software distributed
* A Front-End Console Panel for Mobile Webpage
*/

// polyfill
import 'core-js/stable/symbol';

// classes
import VConsole from './core/core.js';

Expand Down

0 comments on commit f5cf794

Please sign in to comment.