szurubooru/client
rr- 2a4241641c client/events: improve event dispatching
This commit introduces timer-less retry system:

1. Any change to URL is going to stop listening to any messages.
2. If a message is sent and there's no handler that could pick it up,
   the message gets enqueued.
3. The message is sent again to the first handler that attaches itself
   to given event type.

While in theory this is full of holes (no control over the first
handler), in practice, it works quite well.

Additionally, views.listenToMessages was attaching to completely wrong
DOM node; this commit fixes this as well.
2016-05-11 23:47:50 +02:00
..
css client/tags: make headers clickable 2016-05-10 14:06:52 +02:00
html client/events: improve event dispatching 2016-05-11 23:47:50 +02:00
img split files into client/ and server/ 2016-04-01 18:48:16 +02:00
js client/events: improve event dispatching 2016-05-11 23:47:50 +02:00
public split files into client/ and server/ 2016-04-01 18:48:16 +02:00
.babelrc client/build: transpile ES6 for older browsers 2016-04-13 20:13:10 +02:00
.jscsrc split files into client/ and server/ 2016-04-01 18:48:16 +02:00
build.js client/build: fix IE11 transpiling 2016-04-14 17:50:38 +02:00
package.json client/general: replace handlebars with underscore 2016-05-09 22:36:29 +02:00