Compare commits

..

No commits in common. "d4a892ac6fd79a42e75b787af711af051ecd8091" and "5f31edb75cc3c6a52206d1862fa4da25b306e58c" have entirely different histories.

3 changed files with 5876 additions and 361 deletions

6215
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,19 +23,19 @@
}, },
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"devDependencies": { "devDependencies": {
"@types/jasmine": "^3.10.7", "@types/jasmine": "^3.10.5",
"@webpack-cli/serve": "^1.5.2", "@webpack-cli/serve": "^1.5.2",
"jasmine": "^3.9.0", "jasmine": "^3.9.0",
"karma": "^6.4.1", "karma": "^6.3.20",
"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.9.4", "typescript": "^4.7.3",
"webpack": "^5.75.0", "webpack": "^5.73.0",
"webpack-cli": "^4.8.0", "webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.11.1" "webpack-dev-server": "^4.9.1"
}, },
"dependencies": { "dependencies": {
"flickity": "^2.2.2" "flickity": "^2.2.2"

View File

@ -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: false, enumerable: true,
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: false, enumerable: true,
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: false, enumerable: true,
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: false, enumerable: true,
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: false, enumerable: true,
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: false, enumerable: true,
configurable: true configurable: true
}); });
vCarousel.prototype.run = function () { vCarousel.prototype.run = function () {