diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2020-08-24 14:34:54 +0200 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-04-06 04:39:51 +0800 |
commit | b769343d0511aa444a6bf9fd601f0f97dea27cab (patch) | |
tree | 70cbea11cb43455e246dc3b75cb3759903f786c0 /js/assets.js | |
parent | f7ee828e1c624be7429f8d986612c600d3eefd3b (diff) | |
download | ematrix-b769343d0511aa444a6bf9fd601f0f97dea27cab.tar.lz ematrix-b769343d0511aa444a6bf9fd601f0f97dea27cab.tar.xz ematrix-b769343d0511aa444a6bf9fd601f0f97dea27cab.zip |
Rewrite messaging.js
Before, it was a series of switch statements that did stuff based on
the content of a field of the request object; the new implementation
does dynamic dispatching of "methods" (just some functions in a table)
instead.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'js/assets.js')
0 files changed, 0 insertions, 0 deletions