Compare commits
2 Commits
5f31edb75c
...
d4a892ac6f
Author | SHA1 | Date | |
---|---|---|---|
d4a892ac6f | |||
25ef32940c |
6207
package-lock.json
generated
6207
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -23,19 +23,19 @@
|
|||||||
},
|
},
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jasmine": "^3.10.5",
|
"@types/jasmine": "^3.10.7",
|
||||||
"@webpack-cli/serve": "^1.5.2",
|
"@webpack-cli/serve": "^1.5.2",
|
||||||
"jasmine": "^3.9.0",
|
"jasmine": "^3.9.0",
|
||||||
"karma": "^6.3.20",
|
"karma": "^6.4.1",
|
||||||
"karma-chrome-launcher": "^3.1.1",
|
"karma-chrome-launcher": "^3.1.1",
|
||||||
"karma-firefox-launcher": "^2.1.1",
|
"karma-firefox-launcher": "^2.1.1",
|
||||||
"karma-jasmine": "^4.0.2",
|
"karma-jasmine": "^4.0.2",
|
||||||
"karma-typescript": "^5.5.2",
|
"karma-typescript": "^5.5.2",
|
||||||
"ts-loader": "^8.3.0",
|
"ts-loader": "^8.3.0",
|
||||||
"typescript": "^4.7.3",
|
"typescript": "^4.9.4",
|
||||||
"webpack": "^5.73.0",
|
"webpack": "^5.75.0",
|
||||||
"webpack-cli": "^4.8.0",
|
"webpack-cli": "^4.8.0",
|
||||||
"webpack-dev-server": "^4.9.1"
|
"webpack-dev-server": "^4.11.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"flickity": "^2.2.2"
|
"flickity": "^2.2.2"
|
||||||
|
@ -28,7 +28,7 @@ var vCarousel = (function () {
|
|||||||
if (this.nbVContainers < 2)
|
if (this.nbVContainers < 2)
|
||||||
throw new Error(errors.need2Videos);
|
throw new Error(errors.need2Videos);
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
Object.defineProperty(vCarousel.prototype, "firstVideoId", {
|
Object.defineProperty(vCarousel.prototype, "firstVideoId", {
|
||||||
@ -39,35 +39,35 @@ var vCarousel = (function () {
|
|||||||
if ((firstVideo !== undefined && firstVideo !== "" && this._vContainers.findIndex(function (video) { return video.id === firstVideo; }) !== -1) || (firstVideo === ""))
|
if ((firstVideo !== undefined && firstVideo !== "" && this._vContainers.findIndex(function (video) { return video.id === firstVideo; }) !== -1) || (firstVideo === ""))
|
||||||
this._firstVideoId = firstVideo;
|
this._firstVideoId = firstVideo;
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
Object.defineProperty(vCarousel.prototype, "playFirstVideo", {
|
Object.defineProperty(vCarousel.prototype, "playFirstVideo", {
|
||||||
set: function (playFirstVideo) {
|
set: function (playFirstVideo) {
|
||||||
this._playFirstVideo = playFirstVideo;
|
this._playFirstVideo = playFirstVideo;
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
Object.defineProperty(vCarousel.prototype, "playNextVideos", {
|
Object.defineProperty(vCarousel.prototype, "playNextVideos", {
|
||||||
set: function (playNextVideos) {
|
set: function (playNextVideos) {
|
||||||
this._playNextVideos = playNextVideos;
|
this._playNextVideos = playNextVideos;
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
Object.defineProperty(vCarousel.prototype, "noStop", {
|
Object.defineProperty(vCarousel.prototype, "noStop", {
|
||||||
set: function (noStop) {
|
set: function (noStop) {
|
||||||
this._noStop = noStop;
|
this._noStop = noStop;
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
Object.defineProperty(vCarousel.prototype, "currentVideo", {
|
Object.defineProperty(vCarousel.prototype, "currentVideo", {
|
||||||
get: function () {
|
get: function () {
|
||||||
return this._currentVideo;
|
return this._currentVideo;
|
||||||
},
|
},
|
||||||
enumerable: true,
|
enumerable: false,
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
vCarousel.prototype.run = function () {
|
vCarousel.prototype.run = function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user