Commit Graph

18 Commits

Author SHA1 Message Date
shirakaba
ab56e114ea fix: C for loop instead of for...of 2023-01-21 15:29:33 +09:00
shirakaba
eb8020a90c fix: apply -> call 2023-01-21 15:29:33 +09:00
shirakaba
08bc87b059 fix: convert property bag to individual args 2023-01-21 15:29:33 +09:00
shirakaba
13c29db06e fix: declare reset on prototype 2023-01-21 15:29:33 +09:00
shirakaba
96e53c6a43 fix: declare onCurrentListenersMutation on prototype 2023-01-21 15:29:33 +09:00
shirakaba
d8b83e46e3 fix: combine splice-and-push into just splice 2023-01-21 15:29:33 +09:00
shirakaba
afa78dd85f fix: use simple properties instead of setters 2023-01-21 15:29:33 +09:00
shirakaba
89f94b55c3 fix: assign directly to prototype where possible 2023-01-21 15:29:33 +09:00
shirakaba
f08d122add fix: avoid creating functions on each handleEvent() call 2023-01-21 15:29:33 +09:00
shirakaba
66f62fbbd6 fix: recycle eventPath 2023-01-21 15:29:33 +09:00
shirakaba
efb1a93287 fix: avoid unnecessary usage of Array.prototype.reverse() 2023-01-21 15:29:33 +09:00
shirakaba
217cd78114 fix: simplify MutationSensitiveArray listener system 2023-01-21 15:29:33 +09:00
shirakaba
95f9c44441 fix: lazy-clone listeners array 2023-01-21 15:29:33 +09:00
shirakaba
f58d7437e4 fix: optimise syntax used within handleEvent() 2023-01-21 15:29:33 +09:00
shirakaba
fe60cfac04 fix: accidental reference to event rather than this 2023-01-21 15:29:33 +09:00
shirakaba
0fe149c9e1 feat: implement Event and EventTarget 2023-01-21 15:29:33 +09:00
shirakaba
832595281f chore: tests 2023-01-21 15:29:33 +09:00
shirakaba
7a276df09c feat: DOM events
BREAKING CHANGE
2023-01-21 15:29:33 +09:00