aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka/scripts
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-08-31 16:02:13 +0200
committerGitHub <noreply@github.com>2023-08-31 16:02:13 +0200
commit6a181a7a2b03ec263788d137610e86937a57d434 (patch)
tree22368589814dad150ad6de243cc2da3cdff926a6 /plugins/base/src/main/resources/dokka/scripts
parentc63ea36637ce956029fb15b1482c0683ecb8a587 (diff)
downloaddokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.gz
dokka-6a181a7a2b03ec263788d137610e86937a57d434.tar.bz2
dokka-6a181a7a2b03ec263788d137610e86937a57d434.zip
Update copyright (#3149)
* Add the default copyright profile and enable IDEA project settings * Add the license notice file
Diffstat (limited to 'plugins/base/src/main/resources/dokka/scripts')
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/clipboard.js4
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/navigation-loader.js4
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js4
-rw-r--r--plugins/base/src/main/resources/dokka/scripts/symbol-parameters-wrapper_deferred.js4
4 files changed, 16 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/scripts/clipboard.js b/plugins/base/src/main/resources/dokka/scripts/clipboard.js
index b00ce246..7a4f33c5 100644
--- a/plugins/base/src/main/resources/dokka/scripts/clipboard.js
+++ b/plugins/base/src/main/resources/dokka/scripts/clipboard.js
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
window.addEventListener('load', () => {
document.querySelectorAll('span.copy-icon').forEach(element => {
element.addEventListener('click', (el) => copyElementsContentToClipboard(element));
diff --git a/plugins/base/src/main/resources/dokka/scripts/navigation-loader.js b/plugins/base/src/main/resources/dokka/scripts/navigation-loader.js
index 92464911..3df7ac8c 100644
--- a/plugins/base/src/main/resources/dokka/scripts/navigation-loader.js
+++ b/plugins/base/src/main/resources/dokka/scripts/navigation-loader.js
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
navigationPageText = fetch(pathToRoot + "navigation.html").then(response => response.text())
displayNavigationFromPage = () => {
diff --git a/plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js b/plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js
index 7c5e8af7..8c4ca538 100644
--- a/plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js
+++ b/plugins/base/src/main/resources/dokka/scripts/platform-content-handler.js
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
filteringContext = {
dependencies: {},
restrictedDependencies: [],
diff --git a/plugins/base/src/main/resources/dokka/scripts/symbol-parameters-wrapper_deferred.js b/plugins/base/src/main/resources/dokka/scripts/symbol-parameters-wrapper_deferred.js
index 248d0ab0..d363488d 100644
--- a/plugins/base/src/main/resources/dokka/scripts/symbol-parameters-wrapper_deferred.js
+++ b/plugins/base/src/main/resources/dokka/scripts/symbol-parameters-wrapper_deferred.js
@@ -1,3 +1,7 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
// helps with some corner cases where <wbr> starts working already,
// but the signature is not yet long enough to be wrapped
const leftPaddingPx = 60