Skip to content

Commit

Permalink
dependencies upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
worka committed Aug 3, 2024
1 parent 9f69220 commit 3ad6b9a
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 334 deletions.
24 changes: 9 additions & 15 deletions dist/wheel-zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,12 @@
);
return t;
}
function _superPropGet(t, e, r, o) {
var p = _get(_getPrototypeOf(t.prototype), e, r);
return function (t) {
return p.apply(r, t);
};
}
function _toPrimitive(t, r) {
if ('object' != typeof t || !t) return t;
var e = t[Symbol.toPrimitive];
Expand Down Expand Up @@ -783,11 +789,7 @@
this._grabHandler,
this.events.options
);
_get(
_getPrototypeOf(DragScrollableObserver.prototype),
'destroy',
this
).call(this);
_superPropGet(DragScrollableObserver, 'destroy', this)([]);
},

/**
Expand Down Expand Up @@ -955,11 +957,7 @@
this._wheelHandler,
this.events.options
);
_get(
_getPrototypeOf(InteractionObserver.prototype),
'destroy',
this
).call(this);
_superPropGet(InteractionObserver, 'destroy', this)([]);
},

/**
Expand Down Expand Up @@ -1073,11 +1071,7 @@
value: function destroy() {
off(this.target, 'touchmove', this._touchMoveHandler);
off(this.target, 'touchend', this._touchEndHandler);
_get(
_getPrototypeOf(PinchToZoomObserver.prototype),
'destroy',
this
).call(this);
_superPropGet(PinchToZoomObserver, 'destroy', this)([]);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/wheel-zoom.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "9.0.3",
"main": "src/wheel-zoom.js",
"devDependencies": {
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@rollup/plugin-babel": "^6.0.4",
"prettier": "3.3.3",
"rollup": "^4.19.0",
"rollup": "^4.20.0",
"terser": "^5.31.3"
},
"scripts": {
Expand Down
Loading

0 comments on commit 3ad6b9a

Please sign in to comment.