Tumortisch-Dist/resources/app/node_modules/iwmlib/lib/inspect.js

14 lines
341 B
JavaScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
export class Inspect {
// Code inspection functions
static allScriptSources() {
let sources = []
let scripts = document.getElementsByTagName('script')
for (let i = 0; i < scripts.length; i++) {
console.dir(scripts[i])
sources.push(scripts[i])
}
return sources
}
}