flux icon indicating copy to clipboard operation
flux copied to clipboard

Update dispatcher.js in flux-chat

Open coodoo opened this issue 12 years ago • 2 comments

Seems there is a newer version in /src/dispatcher.js, but an older one was used in flux-chat example.

Probably this file should be symlinked from /src to the example dir?

coodoo avatar Aug 15 '14 01:08 coodoo

We can't symlink because the dispatcher in /src is written in ES6. We need to transform it and take the de-sugared file into the examples. @zpao is there a better solution here?

fisherwebdev avatar Aug 18 '14 23:08 fisherwebdev

Yeah I found out about the class keyword after a while and realized it won't work without ES6 support.

coodoo avatar Aug 19 '14 03:08 coodoo