Compare commits

..

No commits in common. "6aab0ee986543818a2416700b48a97b0bdee95bd" and "02aa0891cb08b152c9a62cbdc4bc877968209731" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,6 @@
const queryString = window.location.search;
const queryLoc = window.location.origin;
const queryRequest = window.location.href.split('?')[0];
const windowLoc = window.location.toString();
console.log(queryString);
const urlParams = new URLSearchParams(queryString);
const requestURL = urlParams.get('url')
@ -28,7 +27,6 @@
// Select the correct container
var htmlTrimmed = doc.querySelector(selector);
if (htmlTrimmed) {
htmlTrimmed = htmlTrimmed.parentElement;
var styleSheets = doc.querySelectorAll("link");
for (var i = 0; i < styleSheets.length; i++) {
document.head.appendChild(styleSheets[i]);
@ -40,7 +38,7 @@
// Replace either http://<somehost>/<somedoc> or http://<somehost> with "" so that:
// 1.) links to elements on the same page work
// 2.) disable cross-origin requests
var fixedURL = hlinks[i].href.replace(windowLoc.split('#')[0], "").replace(queryLoc, "")
var fixedURL = hlinks[i].href.replace(window.location, "").replace(queryLoc, "")
// If the remaining character is the hash, this is a same-page section link
if (fixedURL.startsWith("#")) {
fixedURL = requestURL + fixedURL;

View File

@ -18,7 +18,7 @@ Before attempting to use a system, it must be registered.
Registration requires a call to `registerSystem(String systemName, ECSSystem system)`, with params of the `String name` and a object reference of the [ECSSystem](./ECSSystem.md). Using the object reference, a system can be invoked at any time.
See [EntityManager.java](/BrychanD/JaveECS/src/branch/master/javaecs/src/main/java/nz/ac/massey/javaecs/EntityManager.java)
See [EntityManager.java](/BrychanD/JaveECS/src/branch/master/javaecs/src/main/java/nz/ac/massey/programming_project_159333_s1_2021/EntityManager.java)
## Constructors
``` java