change from tabs to spaces

This commit is contained in:
Jonathan Dawson
2019-11-21 17:03:40 -06:00
parent 20a15f8da5
commit 91cf313f52

View File

@@ -330,22 +330,22 @@
}
}
function getShadow(parent) {
let result = []
function getChild(parent) {
if (parent.firstElementChild) {
var child = parent.firstElementChild
let result = []
function getChild(parent) {
if (parent.firstElementChild) {
var child = parent.firstElementChild
do {
result = result.concat(child)
getChild(child)
if (child.shadowRoot) {
result = result.concat(getShadow(child.shadowRoot))
}
getChild(child)
if (child.shadowRoot) {
result = result.concat(getShadow(child.shadowRoot))
}
child = child.nextElementSibling
} while (child)
}
}
getChild(parent)
return result
}
}
getChild(parent)
return result
}
function initializeNow(document) {