aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/frontend/src/main/components/utils
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/frontend/src/main/components/utils')
-rw-r--r--plugins/base/frontend/src/main/components/utils/hotkey.ts4
-rw-r--r--plugins/base/frontend/src/main/components/utils/os.ts6
-rw-r--r--plugins/base/frontend/src/main/components/utils/requests.tsx4
3 files changed, 13 insertions, 1 deletions
diff --git a/plugins/base/frontend/src/main/components/utils/hotkey.ts b/plugins/base/frontend/src/main/components/utils/hotkey.ts
index 8ba47ab5..ae813166 100644
--- a/plugins/base/frontend/src/main/components/utils/hotkey.ts
+++ b/plugins/base/frontend/src/main/components/utils/hotkey.ts
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
import {detectOsKind, OsKind} from "./os";
type ModifierKey = {
diff --git a/plugins/base/frontend/src/main/components/utils/os.ts b/plugins/base/frontend/src/main/components/utils/os.ts
index 3005245c..6130ef67 100644
--- a/plugins/base/frontend/src/main/components/utils/os.ts
+++ b/plugins/base/frontend/src/main/components/utils/os.ts
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
export enum OsKind{
WINDOWS,
MACOS,
@@ -11,4 +15,4 @@ export const detectOsKind = (): OsKind => {
else if (userAgent.includes("Win")) return OsKind.WINDOWS
else if (userAgent.includes("Linux")) return OsKind.LINUX
else return OsKind.OTHER
-} \ No newline at end of file
+}
diff --git a/plugins/base/frontend/src/main/components/utils/requests.tsx b/plugins/base/frontend/src/main/components/utils/requests.tsx
index c95dda69..568c331b 100644
--- a/plugins/base/frontend/src/main/components/utils/requests.tsx
+++ b/plugins/base/frontend/src/main/components/utils/requests.tsx
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
import {IWindow} from "../search/types"
export const relativizeUrlForRequest = (filePath: string) : string => {