Add comments to JavaScript and some restructuring

This commit is contained in:
Patrick Jentsch
2023-10-24 15:09:20 +02:00
parent f101a742a9
commit 965f2854b2
6 changed files with 111 additions and 63 deletions

View File

@ -1,6 +1,6 @@
var ResourceLists = {};
ResourceLists.autoInit = () => {
ResourceLists.AutoInit = () => {
for (let propertyName in ResourceLists) {
let property = ResourceLists[propertyName];
// Call autoInit of all properties that are subclasses of `ResourceLists.ResourceList`.