Compare commits

...

2 Commits

Author SHA1 Message Date
Fabrice PENHOËT d4a892ac6f Nouvelle compilation du projet 2022-12-28 10:45:32 +01:00
Fabrice PENHOËT 25ef32940c Mise à jour des dépendances 2022-12-28 10:31:48 +01:00
3 changed files with 357 additions and 5872 deletions

6207
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.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"

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: 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 () {