clean up after pull request

- added es6 uglify
- pimped status pages in demo-index
- added first modular hippie file
This commit is contained in:
Stephan Hagedorn 2017-09-29 22:47:41 +02:00
parent b9003c4a28
commit bcc5ab661a
13 changed files with 202 additions and 52 deletions

View file

@ -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() {