summaryrefslogtreecommitdiff
path: root/priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-02 08:06:50 +0200
committerhref <href@random.sh>2021-09-02 08:06:50 +0200
commit1fbd63419355e8ddd482c3cb62641bed1366763b (patch)
tree370ce63fcf19f2fd8b1f5136fc19a317050ba0f3 /priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js
parenttxt: don't search in files with dot, display them below in web (diff)
Phoenix 1.6rc0 & Use proper Esbuild/Tailwind/Npm
Diffstat (limited to '')
-rw-r--r--priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js b/priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js
deleted file mode 100644
index 22d30ad..0000000
--- a/priv/static/metrics-graphics-3.0-alpha3/tests/helpers.js
+++ /dev/null
@@ -1,20 +0,0 @@
-function generateMouseEvent(type) {
- var event = document.createEvent('MouseEvent');
- event.initEvent(type, true, true);
- return event;
-}
-
-// essentially the same as $.extend
-function extend(){
- var result = {},
- $__arguments = [].slice.call(arguments);
-
- $__arguments.forEach(function(obj) {
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop)) {
- result[prop] = obj[prop];
- }
- }
- });
- return result;
-}