From d4a892ac6fd79a42e75b787af711af051ecd8091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Wed, 28 Dec 2022 10:45:32 +0100 Subject: [PATCH] Nouvelle compilation du projet --- src/build/vCarousel.js | 12 ++++++------ tsconfig.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/build/vCarousel.js b/src/build/vCarousel.js index 836a35f..2b8a976 100644 --- a/src/build/vCarousel.js +++ b/src/build/vCarousel.js @@ -28,7 +28,7 @@ var vCarousel = (function () { if (this.nbVContainers < 2) throw new Error(errors.need2Videos); }, - enumerable: true, + enumerable: false, configurable: true }); 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 === "")) this._firstVideoId = firstVideo; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(vCarousel.prototype, "playFirstVideo", { set: function (playFirstVideo) { this._playFirstVideo = playFirstVideo; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(vCarousel.prototype, "playNextVideos", { set: function (playNextVideos) { this._playNextVideos = playNextVideos; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(vCarousel.prototype, "noStop", { set: function (noStop) { this._noStop = noStop; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(vCarousel.prototype, "currentVideo", { get: function () { return this._currentVideo; }, - enumerable: true, + enumerable: false, configurable: true }); vCarousel.prototype.run = function () { diff --git a/tsconfig.json b/tsconfig.json index f2a25d8..6d88579 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,5 +12,5 @@ "skipLibCheck": true, }, "include": ["src/*", "src/demo/*"], - "exclude": ["src/build", "node_modules"] + "exclude": ["src/build"] } \ No newline at end of file