Skip to content

Commit

Permalink
move globalThis to polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
uNmAnNeR committed Feb 17, 2020
1 parent 2565921 commit 17f2d5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/imask/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'core-js/features/global-this'; // https://github.com/uNmAnNeR/imaskjs/issues/300
import IMask from './imask.js';
export { default as InputMask } from './controls/input.js';

Expand Down
1 change: 1 addition & 0 deletions packages/imask/src/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ import 'core-js/features/object/assign';
import 'core-js/features/string/repeat';
import 'core-js/features/string/pad-start';
import 'core-js/features/string/pad-end';
import 'core-js/features/global-this'; // https://github.com/uNmAnNeR/imaskjs/issues/300

0 comments on commit 17f2d5f

Please sign in to comment.