summaryrefslogtreecommitdiff
path: root/frontend/site/app/revisions.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/site/app/revisions.js')
-rw-r--r--frontend/site/app/revisions.js14
1 files changed, 14 insertions, 0 deletions
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
+}