chore: remove resize-observer-polyfill

pull/4054/head
tangjinzhou 4 years ago
parent fb5d2e5054
commit 44cd93e29b

@ -1,4 +1,3 @@
import ResizeObserver from 'resize-observer-polyfill';
import contains from '../vc-util/Dom/contains';
export function buffer(fn, ms) {
let timer;

@ -1,5 +1,4 @@
import PropTypes from '../_util/vue-types';
import ResizeObserver from 'resize-observer-polyfill';
import SubMenu from './SubMenu';
import BaseMixin from '../_util/BaseMixin';
import { getWidth, setStyle, menuAllProps } from './util';

@ -1,5 +1,4 @@
// based on rc-resize-observer 0.1.3
import ResizeObserver from 'resize-observer-polyfill';
import { defineComponent } from 'vue';
import BaseMixin from '../_util/BaseMixin';
import { findDOMNode } from '../_util/props-util';

@ -23,7 +23,6 @@ import {
import Track from './track';
import Dots from './dots';
import { PrevArrow, NextArrow } from './arrows';
import ResizeObserver from 'resize-observer-polyfill';
function noop() {}

@ -1,5 +1,4 @@
import debounce from 'lodash-es/debounce';
import ResizeObserver from 'resize-observer-polyfill';
import PropTypes from '../../_util/vue-types';
import BaseMixin from '../../_util/BaseMixin';
import { getComponent, getSlot } from '../../_util/props-util';

@ -213,7 +213,6 @@
"lodash-es": "^4.17.15",
"moment": "^2.27.0",
"omit.js": "^2.0.0",
"resize-observer-polyfill": "^1.5.1",
"scroll-into-view-if-needed": "^2.2.25",
"shallow-equal": "^1.0.0",
"vue-types": "^3.0.0",

Loading…
Cancel
Save