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) { function getShadow(parent) {
let result = [] let result = []
function getChild(parent) { function getChild(parent) {
if (parent.firstElementChild) { if (parent.firstElementChild) {
var child = parent.firstElementChild var child = parent.firstElementChild
do { do {
result = result.concat(child) result = result.concat(child)
getChild(child) getChild(child)
if (child.shadowRoot) { if (child.shadowRoot) {
result = result.concat(getShadow(child.shadowRoot)) result = result.concat(getShadow(child.shadowRoot))
} }
child = child.nextElementSibling child = child.nextElementSibling
} while (child) } while (child)
} }
} }
getChild(parent) getChild(parent)
return result return result
} }
function initializeNow(document) { function initializeNow(document) {