From 44cbee96832f5156a7a54697f02dc932311cd8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 31 Aug 2022 17:06:38 +0200 Subject: [PATCH] MOBILE-4081 chore: Fix duplicated semicolon --- src/addons/mod/data/components/index/index.ts | 2 +- src/addons/mod/survey/components/index/index.ts | 2 +- .../features/course/components/module-summary/module-summary.ts | 2 +- src/core/singletons/dom.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/addons/mod/data/components/index/index.ts b/src/addons/mod/data/components/index/index.ts index 07a9190d3..024260da0 100644 --- a/src/addons/mod/data/components/index/index.ts +++ b/src/addons/mod/data/components/index/index.ts @@ -103,7 +103,7 @@ export class AddonModDataIndexComponent extends CoreCourseModuleMainActivityComp num: number; max: number; reseturl: string; - };; + }; hasOfflineRatings = false; diff --git a/src/addons/mod/survey/components/index/index.ts b/src/addons/mod/survey/components/index/index.ts index 73999cf7a..d69ea2140 100644 --- a/src/addons/mod/survey/components/index/index.ts +++ b/src/addons/mod/survey/components/index/index.ts @@ -214,7 +214,7 @@ export class AddonModSurveyIndexComponent extends CoreCourseModuleMainActivityCo // Update the view. prefetched ? this.showLoadingAndFetch(false, false) : - this.showLoadingAndRefresh(false);; + this.showLoadingAndRefresh(false); } catch { // Prefetch failed, refresh the data. this.showLoadingAndRefresh(false); diff --git a/src/core/features/course/components/module-summary/module-summary.ts b/src/core/features/course/components/module-summary/module-summary.ts index dd3c6cbb6..1b6edd6df 100644 --- a/src/core/features/course/components/module-summary/module-summary.ts +++ b/src/core/features/course/components/module-summary/module-summary.ts @@ -60,7 +60,7 @@ export class CoreCourseModuleSummaryComponent implements OnInit, OnDestroy { removeFilesLoading = false; prefetchLoading = false; - canPrefetch = false;; + canPrefetch = false; prefetchDisabled = false; size?: number; // Size in bytes downloadTimeReadable = ''; // Last download time in a readable format. diff --git a/src/core/singletons/dom.ts b/src/core/singletons/dom.ts index 65e16c62c..357fd6264 100644 --- a/src/core/singletons/dom.ts +++ b/src/core/singletons/dom.ts @@ -175,7 +175,7 @@ export class CoreDom { slot.removeEventListener('slotchange', slotListener); }; - slot.addEventListener('slotchange', slotListener);; + slot.addEventListener('slotchange', slotListener); } /**