Skip to content

Commit c548f08

Browse files
committed
refactor: more clear function name
1 parent a612855 commit c548f08

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vis/js/HeadstartRunner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class HeadstartRunner {
5555
}
5656

5757
async run() {
58-
this.checkBrowserVersion();
58+
this.checkIsSupportedBrowser();
5959
this.renderReact();
6060
this.addBackButtonListener();
6161
this.backendData = await this.fetchData();
@@ -65,7 +65,7 @@ class HeadstartRunner {
6565
this.addWindowResizeListener();
6666
}
6767

68-
private checkBrowserVersion() {
68+
private checkIsSupportedBrowser() {
6969
const SUPPORTED = ["Chrome", "Firefox", "Safari", "Edge", "Opera"] as const;
7070

7171
const browser = Bowser.getParser(window.navigator.userAgent);

0 commit comments

Comments
 (0)