fixed links, testing container

This commit is contained in:
Brychan Dempsey 2021-06-08 22:05:12 +12:00
parent 2bc53528d0
commit 6aab0ee986
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@
// Select the correct container // Select the correct container
var htmlTrimmed = doc.querySelector(selector); var htmlTrimmed = doc.querySelector(selector);
if (htmlTrimmed) { if (htmlTrimmed) {
htmlTrimmed = htmlTrimmed.parentElement;
var styleSheets = doc.querySelectorAll("link"); var styleSheets = doc.querySelectorAll("link");
for (var i = 0; i < styleSheets.length; i++) { for (var i = 0; i < styleSheets.length; i++) {
document.head.appendChild(styleSheets[i]); document.head.appendChild(styleSheets[i]);

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. 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/programming_project_159333_s1_2021/EntityManager.java) See [EntityManager.java](/BrychanD/JaveECS/src/branch/master/javaecs/src/main/java/nz/ac/massey/javaecs/EntityManager.java)
## Constructors ## Constructors
``` java ``` java