oortcloud / node-ddp-client

A callback style DDP (Meteor's Distributed Data Protocol) node client.
Other
263 stars 80 forks source link

Fix adding changed handler on observer creator #72

Closed rclai closed 8 years ago

rclai commented 8 years ago

The DDP message parser is looking for an observer.changed function, but if you register a changed function via the observe function as the third argument, it gets registered as updated instead of changed and will throw when an update comes through.

vsivsi commented 8 years ago

Looks good. Thanks!