abhshkdz / HackFlowy

:notebook: Workflowy clone, built using Backbone.js & Socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is socket.io implemented at all?

azhang opened this issue · comments

I was trying to look for an example using socket.io, but I couldn't find anything in backbone. Also, the node code seems to be REST instead of using socket.io. Am I missing something?

Have a look at the last few lines of server.js and the corresponding client-side socket.io code in public/index.html. I'm using it to sync between multiple clients.

Oh! I understand. I missed the code in index.html and didn't see socket.on and socket.emit inside public/views/task.js. Thanks! :)