summaryrefslogtreecommitdiff
path: root/frontend/src/util/jquery.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/util/jquery.js')
-rw-r--r--frontend/src/util/jquery.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/src/util/jquery.js b/frontend/src/util/jquery.js
new file mode 100644
index 00000000..12a64fc6
--- /dev/null
+++ b/frontend/src/util/jquery.js
@@ -0,0 +1,8 @@
+/**
+ * Binding of the global jQuery variable for use within React.
+ *
+ * This should be used instead of '$', to address ESLint warnings relating to undefined global variables.
+ */
+const jQuery = window["$"];
+
+export default jQuery;