Skip to content

Commit 372629f

Browse files
committed
build: package
1 parent f86b923 commit 372629f

8 files changed

Lines changed: 13025 additions & 10064 deletions

File tree

lib/cube.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.

lib/image-preview/image-preview.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.

lib/image-preview/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9685,6 +9685,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
96859685
this._play();
96869686
}
96879687
},
9688+
play: function play() {
9689+
if (!this.autoPlay) return;
9690+
if (this._timer === null) {
9691+
this._play();
9692+
}
9693+
},
9694+
pause: function pause() {
9695+
if (!this.autoPlay) return;
9696+
clearTimeout(this._timer);
9697+
this._timer = null;
9698+
},
96889699
_destroy: function _destroy() {
96899700
this.slide && this.slide.destroy();
96909701
},

lib/index.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7295,7 +7295,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
72957295
}
72967296

72977297
var Cube = {
7298-
version: "1.12.55",
7298+
version: "1.12.56",
72997299
install: install,
73007300
BScroll: _module.BetterScroll,
73017301
createAPI: _module.createAPI
@@ -22026,6 +22026,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2202622026
this._play();
2202722027
}
2202822028
},
22029+
play: function play() {
22030+
if (!this.autoPlay) return;
22031+
if (this._timer === null) {
22032+
this._play();
22033+
}
22034+
},
22035+
pause: function pause() {
22036+
if (!this.autoPlay) return;
22037+
clearTimeout(this._timer);
22038+
this._timer = null;
22039+
},
2202922040
_destroy: function _destroy() {
2203022041
this.slide && this.slide.destroy();
2203122042
},

lib/slide/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
887887
this._play();
888888
}
889889
},
890+
play: function play() {
891+
if (!this.autoPlay) return;
892+
if (this._timer === null) {
893+
this._play();
894+
}
895+
},
896+
pause: function pause() {
897+
if (!this.autoPlay) return;
898+
clearTimeout(this._timer);
899+
this._timer = null;
900+
},
890901
_destroy: function _destroy() {
891902
this.slide && this.slide.destroy();
892903
},

lib/slide/slide.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.

0 commit comments

Comments
 (0)