Added filter
This commit is contained in:
parent
f88ca79d0e
commit
78822fe1c5
11
Wiki.html
11
Wiki.html
@ -16,9 +16,14 @@ function changeUrl() {
|
||||
const queryLoc = window.location.origin;
|
||||
console.log(queryLoc);
|
||||
fetch(queryLoc + "/" + "BrychanD/JavaECS-Docs/src/branch/master/README.md")
|
||||
.then(x => x.getElementsByClassName("file-view").text())
|
||||
.then(y => document.getElementById("renderspot2").innerHTML = y);
|
||||
console.log(x);
|
||||
.then(x => x.text())
|
||||
.then(function (y) {
|
||||
var parser = new DOMParser();
|
||||
var doc = parser.parseFromString(y);
|
||||
|
||||
var ytrimmed = doc.getElementsByClassName("file-view").text();
|
||||
document.getElementById("renderspot2").innerHTML = y;
|
||||
});
|
||||
</script>
|
||||
|
||||
<div id="renderspot2" style="height: 100%; width: 100%" />
|
Loading…
x
Reference in New Issue
Block a user