From 54b8482223288a4d5df41267f3c9235bab06c15e Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 24 Mar 2017 17:12:23 +0100 Subject: add minionlivesmatter --- .../templates/assets/tether/src/js/utils.js | 370 +++++++++++++++++++++ 1 file changed, 370 insertions(+) create mode 100644 minionlivesmatter/templates/assets/tether/src/js/utils.js (limited to 'minionlivesmatter/templates/assets/tether/src/js/utils.js') diff --git a/minionlivesmatter/templates/assets/tether/src/js/utils.js b/minionlivesmatter/templates/assets/tether/src/js/utils.js new file mode 100644 index 0000000..19ba7fe --- /dev/null +++ b/minionlivesmatter/templates/assets/tether/src/js/utils.js @@ -0,0 +1,370 @@ +let TetherBase; +if (typeof TetherBase === 'undefined') { + TetherBase = {modules: []}; +} + +let zeroElement = null; + +// Same as native getBoundingClientRect, except it takes into account parent offsets +// if the element lies within a nested document ( or