Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
fix:Add es6-map implement in case old browser doesnot support Map
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpin34 committed Oct 30, 2018
1 parent 6edb766 commit 7249238
Show file tree
Hide file tree
Showing 9 changed files with 1,556 additions and 149 deletions.
1 change: 1 addition & 0 deletions build/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function genConfig (opts) {
'lodash/isFinite',
'lodash/debounce',
'lodash/throttle',
'es6-map/implement'
]
}

Expand Down
1 change: 1 addition & 0 deletions build/rollup.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ export default {
'lodash/isFinite',
'lodash/debounce',
'lodash/throttle',
'es6-map/implement'
]
}
1 change: 1 addition & 0 deletions dist/vue-scroll.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var _isInteger = _interopDefault(require('lodash/isInteger'));
var _isFinite = _interopDefault(require('lodash/isFinite'));
var _debounce = _interopDefault(require('lodash/debounce'));
var _throttle = _interopDefault(require('lodash/throttle'));
require('es6-map/implement');

var dom = (function () {
var listeners = new Map();
Expand Down
1 change: 1 addition & 0 deletions dist/vue-scroll.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import _isInteger from 'lodash/isInteger';
import _isFinite from 'lodash/isFinite';
import _debounce from 'lodash/debounce';
import _throttle from 'lodash/throttle';
import 'es6-map/implement';

var dom = (function () {
var listeners = new Map();
Expand Down
Loading

0 comments on commit 7249238

Please sign in to comment.