Added Nubiles network.

This commit is contained in:
2020-02-12 23:00:32 +01:00
parent 2b5b8fb19d
commit cd2ca65903
53 changed files with 377 additions and 87 deletions

View File

@@ -191,6 +191,10 @@ function init(element, window) {
}
function initAll(context, selector, window) {
if (Array.isArray(context)) {
return context.map(element => init(element, window));
}
return Array.from(context.querySelectorAll(selector))
.map(element => init(element, window));
}