Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Jul 17, 2024
1 parent c86ec25 commit 67b67ec
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 33 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- `flex-center-container`
- All variables in `_variables.scss` are now prepended with `pa-` to signify they originate from this library in case they get mixed with other imports
- `$color-red` was removed as it wasn't used internally and can be easily recreated where needed
- Replaces the deprecated `window.pageYOffset` call to `window.scrollY` for the `navFade` function
- Replaces references of the deprecated `window.pageYOffset` and `window.pageXOffset` calls to `window.scrollY` and `window.scrollX` respectively
- Bumps dependencies (closes #25)

## v3.2.3 (2023-05-08)
Expand Down
6 changes: 3 additions & 3 deletions pineapple/dist/js/pineapple.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ if (typeof window === "undefined") {
}, s = o.performance && o.performance.now ? o.performance.now.bind(o.performance) : Date.now, c = (l = o.navigator.userAgent,
new RegExp([ "MSIE ", "Trident/", "Edge/" ].join("|")).test(l) ? 1 : 0);
o.scroll = o.scrollTo = function() {
void 0 !== arguments[0] && (!0 !== f(arguments[0]) ? h.call(o, t.body, void 0 !== arguments[0].left ? ~~arguments[0].left : o.scrollX || o.pageXOffset, void 0 !== arguments[0].top ? ~~arguments[0].top : o.scrollY || o.pageYOffset) : i.scroll.call(o, void 0 !== arguments[0].left ? arguments[0].left : "object" != typeof arguments[0] ? arguments[0] : o.scrollX || o.pageXOffset, void 0 !== arguments[0].top ? arguments[0].top : void 0 !== arguments[1] ? arguments[1] : o.scrollY || o.pageYOffset));
void 0 !== arguments[0] && (!0 !== f(arguments[0]) ? h.call(o, t.body, void 0 !== arguments[0].left ? ~~arguments[0].left : o.scrollX || o.scrollX, void 0 !== arguments[0].top ? ~~arguments[0].top : o.scrollY || o.scrollY) : i.scroll.call(o, void 0 !== arguments[0].left ? arguments[0].left : "object" != typeof arguments[0] ? arguments[0] : o.scrollX || o.scrollX, void 0 !== arguments[0].top ? arguments[0].top : void 0 !== arguments[1] ? arguments[1] : o.scrollY || o.scrollY));
}, o.scrollBy = function() {
void 0 !== arguments[0] && (f(arguments[0]) ? i.scrollBy.call(o, void 0 !== arguments[0].left ? arguments[0].left : "object" != typeof arguments[0] ? arguments[0] : 0, void 0 !== arguments[0].top ? arguments[0].top : void 0 !== arguments[1] ? arguments[1] : 0) : h.call(o, t.body, ~~arguments[0].left + (o.scrollX || o.pageXOffset), ~~arguments[0].top + (o.scrollY || o.pageYOffset)));
void 0 !== arguments[0] && (f(arguments[0]) ? i.scrollBy.call(o, void 0 !== arguments[0].left ? arguments[0].left : "object" != typeof arguments[0] ? arguments[0] : 0, void 0 !== arguments[0].top ? arguments[0].top : void 0 !== arguments[1] ? arguments[1] : 0) : h.call(o, t.body, ~~arguments[0].left + (o.scrollX || o.scrollX), ~~arguments[0].top + (o.scrollY || o.scrollY)));
}, e.prototype.scroll = e.prototype.scrollTo = function() {
if (void 0 !== arguments[0]) if (!0 !== f(arguments[0])) {
var o = arguments[0].left, t = arguments[0].top;
Expand Down Expand Up @@ -177,7 +177,7 @@ if (typeof window === "undefined") {
}
function h(l, e, r) {
var c, f, p, a, h = s();
l === t.body ? (c = o, f = o.scrollX || o.pageXOffset, p = o.scrollY || o.pageYOffset,
l === t.body ? (c = o, f = o.scrollX || o.scrollX, p = o.scrollY || o.scrollY,
a = i.scroll) : (c = l, f = l.scrollLeft, p = l.scrollTop, a = n), d({
scrollable: c,
method: a,
Expand Down
2 changes: 1 addition & 1 deletion pineapple/dist/js/pineapple.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pineapple/dist/js/pineapple.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 67b67ec

Please sign in to comment.