clean up after pull request
- added es6 uglify - pimped status pages in demo-index - added first modular hippie file
This commit is contained in:
parent
b9003c4a28
commit
bcc5ab661a
13 changed files with 202 additions and 52 deletions
|
|
@ -6,14 +6,14 @@ function setup() {
|
|||
}
|
||||
|
||||
// get document coordinates of the element
|
||||
// function getCoords(elem) {
|
||||
// let box = elem.getBoundingClientRect();
|
||||
//
|
||||
// return {
|
||||
// top: box.top + pageYOffset,
|
||||
// left: box.left + pageXOffset
|
||||
// };
|
||||
// }
|
||||
function getCoords(elem) {
|
||||
let box = elem.getBoundingClientRect();
|
||||
|
||||
return {
|
||||
top: box.top + pageYOffset,
|
||||
left: box.left + pageXOffset
|
||||
};
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/a/488073/1444149
|
||||
function Utils() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue