From 3a97d69b84fa762313c0af3779e031c2234afbaf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 22 Apr 2021 19:52:03 +0200 Subject: replace the marquee --- frontend/site/app/revisions.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 frontend/site/app/revisions.js (limited to 'frontend/site/app/revisions.js') diff --git a/frontend/site/app/revisions.js b/frontend/site/app/revisions.js new file mode 100644 index 0000000..8d3b16e --- /dev/null +++ b/frontend/site/app/revisions.js @@ -0,0 +1,14 @@ +/** + * In case you need to, you can make last-minute modifications to the + * graph before it's loaded. This might be preferable in case there + * are certain edits that need to be applied conditionally. + */ + +import { isMobile } from "app/utils" + +export default function reviseGraph (graph) { + if (isMobile) { + // + } + return graph +} -- cgit v1.2.3-70-g09d2