diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 19:55:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-21 19:55:16 +0200 |
| commit | c9fdaf31a1f06862946bd7c13155c71015d5332c (patch) | |
| tree | 1b91b0c00fcd571a1bd40f3e0526a9c1e041534b /public/bundle.js | |
| parent | dd469b4ff7f9945864aa2da0e23fd466334884aa (diff) | |
statuses
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/bundle.js b/public/bundle.js index 7a43c1b..4dfaeca 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1147,6 +1147,16 @@ socket.on('frame', function (data) { img.src = url; }); +socket.on('status', function (data) { + console.log('got status', data.key, data.value); + switch (data.key) { + case 'processing': + break; + default: + break; + } +}); + setInterval(function () { _store.store.dispatch({ type: 'SET_FPS', |
