| | |
| | | document.querySelectorAll('.' + selector).forEach(elem => { elem.classList.remove(selector); }); |
| | | }; |
| | | |
| | | /* |
| | | this.addEvtListener = function (selector, eventName, func) { |
| | | var elems = document.querySelectorAll(selector); |
| | | var index; |
| | | for (index = 0; index < elems.length; index++) { |
| | | elems[index].addEventListener(eventName, func); |
| | | } |
| | | }; |
| | | */ |
| | | |
| | | // document.querySelectorAll(selector).forEach(elem => { elem.addEventListener(eventName, func); }); |
| | | |
| | | /* --------------------- asynchroner HTTP Client ----------------- */ |
| | | |
| | | this.http_get = function (u, cb) { |
| | |
| | | function Abspieler(n, u) { |
| | | this.name = n; |
| | | this.url = u; |
| | | } |
| | | |
| | | } |