Comments (7)
Yep, you can ignore that. Its a known bug in node-browserchannel, because of how I'm using event emitters. I'm pretty sure its fine, and I just need to call emitter.setMaxListeners() to increase the limit.
from sharejs.
I was toying with a simple sketching tool and I seem to be loosing data. It works fine locally but when deployed in a remote server some ops seem to get lost. Could this be the root of the issue ?
from sharejs.
No. The event emitter 'bug' is just that I'm attaching >10 listeners to an event, and thats usually a sign of something fishy going on.
Can you give more details about missing data? Which version are you using? Do you get the same problem with sharejs 0.5-pre?
from sharejs.
I'm using HEAD from GitHub master branch. Basically i'm appending text to a JSON object, in this case something like {id:"fdcd",d:"M100,100 L200,200"} where mouse movement events result in new path commands being inserted in "d".
I end up loosing some path commands. Will try to look further into this and give you some more details.
from sharejs.
That'd be great.
from sharejs.
Ok, stupid event looping. The receiver ended up resetting the "d" attribute that's why some commands were lost. Sorry about that. I'll close the issue since the EventEmitter warning is related to BrowserChannel.
from sharejs.
The eventemitter bug is now here:
josephg/node-browserchannel#8
from sharejs.
Related Issues (20)
- Serialization of custom OT types HOT 2
- 'createSubscribeQuery' only works when share is connected under WebSockets
- Main Example HOT 1
- Will encrypting operations ever be supported
- Issues with resubscribed docs removed HOT 1
- http://sharejs.org/ is down? HOT 3
- How to inform the client when init a `doc` that whether the `doc` exists or not?
- Linear performance issues with larger number of operations submitted
- Sharejs.org Demo Site Not Live HOT 2
- Require ShareJS with Browserify, cannot find module 'ot-json0' HOT 1
- Authorization with latest ShareJS
- Project status HOT 5
- Multiple Documents using sharejs HOT 1
- Is it possible to run ShareJS in a multi clustered environment ?
- Issue in ShareJS Codemirror editor
- Postgres for backend store
- What is the current status?
- Error: `make` failed with exit code: 2 HOT 2
- Cannot read property 'handle' of undefined HOT 1
- please delete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharejs.