Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#464)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.13 → v0.1.14](astral-sh/ruff-pre-commit@v0.1.13...v0.1.14)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 23, 2024
1 parent 231df69 commit b8d6127
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
hooks:
- id: check-pre-commit-ci-config
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.13
rev: v0.1.14
hooks:
- id: ruff
args: ['--fix', '--exit-non-zero-on-fix']
Expand Down
44 changes: 20 additions & 24 deletions src/baseframe/static/js/jquery-easytabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,18 +285,16 @@

$targetPanel
.addClass(settings.panelActiveClass)
[transitions.uncollapse](
transitions.speed,
settings.transitionUncollapseEasing,
function () {
$container.trigger('easytabs:midTransition', [
$clicked,
$targetPanel,
settings,
]);
if (typeof callback == 'function') callback();
}
);
[
transitions.uncollapse
](transitions.speed, settings.transitionUncollapseEasing, function () {
$container.trigger('easytabs:midTransition', [
$clicked,
$targetPanel,
settings,
]);
if (typeof callback == 'function') callback();
});

// Otherwise, collapse it
} else {
Expand All @@ -308,18 +306,16 @@

$targetPanel
.removeClass(settings.panelActiveClass)
[transitions.collapse](
transitions.speed,
settings.transitionCollapseEasing,
function () {
$container.trigger('easytabs:midTransition', [
$clicked,
$targetPanel,
settings,
]);
if (typeof callback == 'function') callback();
}
);
[
transitions.collapse
](transitions.speed, settings.transitionCollapseEasing, function () {
$container.trigger('easytabs:midTransition', [
$clicked,
$targetPanel,
settings,
]);
if (typeof callback == 'function') callback();
});
}
}
};
Expand Down
28 changes: 12 additions & 16 deletions src/baseframe/static/js/jquery-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -15249,10 +15249,9 @@
if (i === 0) {
that.range
.stop(1, 1)
[animate ? 'animate' : 'css'](
{ left: valPercent + '%' },
o.animate
);
[
animate ? 'animate' : 'css'
]({ left: valPercent + '%' }, o.animate);
}
if (i === 1) {
that.range[animate ? 'animate' : 'css'](
Expand All @@ -15264,10 +15263,9 @@
if (i === 0) {
that.range
.stop(1, 1)
[animate ? 'animate' : 'css'](
{ bottom: valPercent + '%' },
o.animate
);
[
animate ? 'animate' : 'css'
]({ bottom: valPercent + '%' }, o.animate);
}
if (i === 1) {
that.range[animate ? 'animate' : 'css'](
Expand All @@ -15294,10 +15292,9 @@
if (oRange === 'min' && this.orientation === 'horizontal') {
this.range
.stop(1, 1)
[animate ? 'animate' : 'css'](
{ width: valPercent + '%' },
o.animate
);
[
animate ? 'animate' : 'css'
]({ width: valPercent + '%' }, o.animate);
}
if (oRange === 'max' && this.orientation === 'horizontal') {
this.range[animate ? 'animate' : 'css'](
Expand All @@ -15308,10 +15305,9 @@
if (oRange === 'min' && this.orientation === 'vertical') {
this.range
.stop(1, 1)
[animate ? 'animate' : 'css'](
{ height: valPercent + '%' },
o.animate
);
[
animate ? 'animate' : 'css'
]({ height: valPercent + '%' }, o.animate);
}
if (oRange === 'max' && this.orientation === 'vertical') {
this.range[animate ? 'animate' : 'css'](
Expand Down

0 comments on commit b8d6127

Please sign in to comment.