Skip to content

Commit dbb1a2f

Browse files
committed
Invert two methods
For documentation purposes
1 parent 21c40ba commit dbb1a2f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@ export class BracketsViewer {
8484
if (result2 && match.opponent2?.score) result2.innerHTML = match.opponent2?.score?.toString();
8585
}
8686

87-
/**
88-
* Adds a locale to the available i18n bundles.
89-
*
90-
* @param name Name of the locale.
91-
* @param locale Contents of the locale.
92-
*/
93-
public addLocale(name: string, locale: Locale): void {
94-
lang.addLocale(name, locale);
95-
}
96-
9787
/**
9888
* Sets the images which will be rendered for every participant.
9989
*
@@ -103,6 +93,16 @@ export class BracketsViewer {
10393
this.participantImages = images;
10494
}
10595

96+
/**
97+
* Adds a locale to the available i18n bundles.
98+
*
99+
* @param name Name of the locale.
100+
* @param locale Contents of the locale.
101+
*/
102+
public addLocale(name: string, locale: Locale): void {
103+
lang.addLocale(name, locale);
104+
}
105+
106106
/**
107107
* Renders a stage (round-robin, single or double elimination).
108108
*

0 commit comments

Comments
 (0)