You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ts/handler.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
exportclassHandler<T>implementsIterable<T>{
2
2
/** This stores the stringified Identifier as the key and then the values is obviously T. We store the identifier stringified because objects are never equal so we can't `get()` from the Map without using the same obj reference. */
3
-
privateregistered: Map<string,T>;
3
+
protectedregistered: Map<string,T>;
4
4
/** the number of registered items in the handler */
5
5
publicgetlength(): number{
6
6
returnthis.registered.size;
@@ -68,7 +68,7 @@ export class Handler<T> implements Iterable<T> {
68
68
* This handler does not use {@link Identifier}s and instead uses unique strings.
for(constelementofArray.from(document.getElementsByClassName("middle-x"))){//? i don't like how we have to do this, can we find another way? maybe somehow only one X button? actually we should probably refactor how the entire middle section works... todo: make an issue for that
0 commit comments