Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit ec5c8af

Browse files
committed
Update Objects.coffee
1 parent a23c0ee commit ec5c8af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/Objects.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ module.factory 'BaseObject', ($q, Stream) ->
1414
# for cleaning up later
1515
@listeners = []
1616

17-
if parent
17+
if parentQueryStream
1818
# Queries go up
1919
@listeners.push @queryStream.child( parentQueryStream )
20+
if parentEventStream
2021
# Events come down
2122
@listeners.push parentEventStream.child( @eventStream )
2223

0 commit comments

Comments
 (0)