about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-07-10 12:25:44 +0200
committerGitHub <noreply@github.com>2020-07-10 12:25:44 +0200
commita78b87d80026feef8960d3d39df40f7a5a394f38 (patch)
tree35821c0e435888d92e3eaf0df5d7b50a1b49b7cb /app/javascript
parent3ef94c00444f2b72a6f68e0fd9cff1b3f783c555 (diff)
Add attribution notice to the audio player component (#14280)
The code for rendering a frequency graph around a circle has been adopted (with modifications) from a CodePen by Alex Permyakov
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/audio/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/audio/index.js b/app/javascript/mastodon/features/audio/index.js
index f0cd79873..6ab835bd6 100644
--- a/app/javascript/mastodon/features/audio/index.js
+++ b/app/javascript/mastodon/features/audio/index.js
@@ -21,6 +21,9 @@ const messages = defineMessages({
   download: { id: 'video.download', defaultMessage: 'Download file' },
 });
 
+// Some parts of the canvas rendering code in this file have been adopted from
+// https://codepen.io/alexdevp/full/RNELPV by Alex Permyakov
+
 const TICK_SIZE = 10;
 const PADDING   = 180;