Skip to content

Commit 11a7c1d

Browse files
Rename isChild to isParent.
1 parent ff3aa9c commit 11a7c1d

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

dist/js/splide-renderer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/splide.cjs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Splide.js
3-
* Version : 3.3.0
3+
* Version : 3.3.1
44
* License : MIT
55
* Copyright: 2021 Naotoshi Fujita
66
*/
@@ -2119,7 +2119,7 @@ function Sync(Splide2, Components2, options) {
21192119
const events = [];
21202120
function mount() {
21212121
Splide2.splides.forEach((target) => {
2122-
!target.isChild && sync(target.splide);
2122+
!target.isParent && sync(target.splide);
21232123
});
21242124
if (options.isNavigation) {
21252125
navigate();
@@ -2360,7 +2360,7 @@ const _Splide = class {
23602360
}
23612361
sync(splide) {
23622362
this.splides.push({ splide });
2363-
splide.splides.push({ splide: this, isChild: true });
2363+
splide.splides.push({ splide: this, isParent: true });
23642364
if (this.state.is(IDLE)) {
23652365
this._Components.Sync.remount();
23662366
splide.Components.Sync.remount();

dist/js/splide.esm.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Splide.js
3-
* Version : 3.3.0
3+
* Version : 3.3.1
44
* License : MIT
55
* Copyright: 2021 Naotoshi Fujita
66
*/
@@ -2115,7 +2115,7 @@ function Sync(Splide2, Components2, options) {
21152115
const events = [];
21162116
function mount() {
21172117
Splide2.splides.forEach((target) => {
2118-
!target.isChild && sync(target.splide);
2118+
!target.isParent && sync(target.splide);
21192119
});
21202120
if (options.isNavigation) {
21212121
navigate();
@@ -2356,7 +2356,7 @@ const _Splide = class {
23562356
}
23572357
sync(splide) {
23582358
this.splides.push({ splide });
2359-
splide.splides.push({ splide: this, isChild: true });
2359+
splide.splides.push({ splide: this, isParent: true });
23602360
if (this.state.is(IDLE)) {
23612361
this._Components.Sync.remount();
23622362
splide.Components.Sync.remount();

dist/js/splide.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/splide.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/splide.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/splide.min.js.gz

0 Bytes
Binary file not shown.

dist/types/types/general.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ export declare type Components = Record<string, BaseComponent> & Partial<{
4949
*/
5050
export interface SyncTarget {
5151
splide: Splide;
52-
isChild?: boolean;
52+
isParent?: boolean;
5353
}
5454
//# sourceMappingURL=../../../src/js/types/general.d.ts.map

dist/types/types/general.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)